| (1) | template <class charT, class traits, class Alloc>
bool operator== (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator== (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator== (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
|---|---|
| (2) | template <class charT, class traits, class Alloc>
bool operator!= (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator!= (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator!= (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (3) | template <class charT, class traits, class Alloc>
bool operator< (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator< (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator< (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (4) | template <class charT, class traits, class Alloc>
bool operator<= (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator<= (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator<= (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (5) | template <class charT, class traits, class Alloc>
bool operator> (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator> (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator> (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (6) | template <class charT, class traits, class Alloc>
bool operator>= (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator>= (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator>= (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (1) | template <class charT, class traits, class Alloc>
bool operator== (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs) noexcept;
template <class charT, class traits, class Alloc>
bool operator== (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator== (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
|---|---|
| (2) | template <class charT, class traits, class Alloc>
bool operator!= (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs) noexcept;
template <class charT, class traits, class Alloc>
bool operator!= (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator!= (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (3) | template <class charT, class traits, class Alloc>
bool operator< (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs) noexcept;
template <class charT, class traits, class Alloc>
bool operator< (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator< (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (4) | template <class charT, class traits, class Alloc>
bool operator<= (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs) noexcept;
template <class charT, class traits, class Alloc>
bool operator<= (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator<= (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (5) | template <class charT, class traits, class Alloc>
bool operator> (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs) noexcept;
template <class charT, class traits, class Alloc>
bool operator> (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator> (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
| (6) | template <class charT, class traits, class Alloc>
bool operator>= (const basic_string<charT,traits,Alloc>& lhs,
const basic_string<charT,traits,Alloc>& rhs) noexcept;
template <class charT, class traits, class Alloc>
bool operator>= (const charT* lhs, const basic_string<charT,traits,Alloc>& rhs);
template <class charT, class traits, class Alloc>
bool operator>= (const basic_string<charT,traits,Alloc>& lhs, const charT* rhs);
|
|
|
foo and bar are not equal foo is less than bar foo is less than or equal to bar |
char* does not point to null-terminated character sequence, it causes undefined behavior.char* does not point to null-terminated character sequence, it causes undefined behavior.