Tests for a lexicographically less than condition.
template <class charT, class traits, class Allocator> bool operator< const basic_string<charT,traits,Allocator>& lhs, const basic_string<charT,traits,Allocator>& rhs); template <class charT, class traits, class Allocator> bool operator< (const charT* lhs, const basic_string <charT,traits,Allocator>& rhs); template <class charT, class traits, class Allocator> bool operator< (const basic_string <charT,traits,Allocator>& lhs, const charT* rhs);
Returns true if the first argument is lexicographically less than the second argument otherwise false.