Standard C++ Library Class Reference
const basic_string& rhs);
Returns a boolean value representing the inequality of lhs and rhs. Inequality is defined by the compare() member
function.
template<class charT, class traits, class Allocator>
bool
operator!= (const charT* lhs, const basic_string& rhs);
template<class charT, class traits, class Allocator>
bool
operator!= (const basic_string& lhs, const charT* rhs);
Returns a boolean value representing the inequality of lhs and rhs. Inequality is defined by the compare() member
function. The functions return, respectively:
basic_string(lhs) != rhs
lhs != basic_string(rhs)
template<class charT, class traits, class Allocator>
bool
operator< (const basic_string& lhs, const basic_string& rhs);
Returns a boolean value representing the lexigraphical less-than relationship of lhs and rhs. Less-than is defined by the
compare() member.
template<class charT, class traits, class Allocator>
bool
operator< (const charT* lhs, const basic_string& rhs);
template<class charT, class traits, class Allocator>
bool
operator< (const basic_string& lhs, const charT* rhs);
Returns a boolean value representing the lexigraphical less-than relationship of lhs and rhs. Less-than is defined by the
compare() member function. These functions return, respectively:
basic_string(lhs) < rhs
lhs < basic_string(rhs)
template<class charT, class traits, class Allocator>
bool
operator> (const basic_string& lhs, const basic_string& rhs);
Returns a boolean value representing the lexigraphical greater-than relationship of lhs and rhs. Greater-than is defined
by the compare() member function.
template<class charT, class traits, class Allocator>
bool
operator> (const charT* lhs, const basic_string& rhs);
template<class charT, class traits, class Allocator>
bool
operator> (const basic_string& lhs, const charT* rhs);
Returns a boolean value representing the lexigraphical greater-than relationship of lhs and rhs. Greater-than is defined
by the compare() member. The functions return, respectively:
basic_string(lhs) > rhs
lhs > basic_string(rhs)
template<class charT, class traits, class Allocator>
bool
operator<= (const basic_string& lhs,
const basic_string& rhs);
Returns a boolean value representing the lexigraphical less-than-or-equal relationship of lhs and rhs. Less-than-or-equal
is defined by the compare() member function.
template<class charT, class traits, class Allocator>
bool