| Localization library | |||||||||||||||||||||||||
| Regular expressions library(C++11) | |||||||||||||||||||||||||
| Formatting library(C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| Member functions | ||||
| Creation | ||||
| Observers | ||||
| Helpers | ||||
| Non-member functions | ||||
operator==(std::text_encoding) | ||||
| Member types | ||||
| Helper classes | ||||
friendconstexprbool operator==(const text_encoding& a, const text_encoding& b)noexcept; | (1) | (since C++26) |
friendconstexprbool operator==(const text_encoding& a, id i)noexcept; | (2) | (since C++26) |
Performs comparison operations ontext_encoding objects.
text_encoding objects. The objects compare equal if and only ifcomp-name (a.name(), b.name()) istrue when botha.mib() andb.mib() are equal toid::other, ora.mib() is equal tob.mib().text_encoding object with a MIBenum value. The objects compare equal if and only ifa.mib() is equal toi.These functions are not visible to ordinaryunqualified orqualified lookup, and can only be found byargument-dependent lookup whenstd::text_encoding is an associated class of the arguments.
The!= operator issynthesized fromoperator==.
Contents |
| a, b | - | text_encoding objects to compare |
| i | - | id value to compare with the MIBenum value contained ina |
? comp-name (a.name(), b.name()) : a.mib()== b.mib().| This section is incomplete Reason: no example |
(removed in C++20) | equality comparison between locale objects (public member function of std::locale)[edit] |