| 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 | |||||||||||||||||||||||||
| |||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Defined in header <locale> | ||
template<class CharT> class messages; | ||
Class templatestd::messages is a standard locale facet that encapsulates retrieval of strings from message catalogs, such as the ones provided by GNUgettext or by POSIXcatgets.
The source of the messages is implementation-defined.
Inheritance diagram
Contents |
The standard library is guaranteed to provide the following specializations (they arerequired to be implemented by any locale object):
Defined in header <locale> | |
| std::messages<char> | accesses narrow string message catalog |
| std::messages<wchar_t> | accesses wide string message catalog |
| Type | Definition |
char_type | CharT |
string_type | std::basic_string<CharT> |
| Member | Description |
std::locale::idid[static] | the identifier of thefacet |
constructs a newmessages facet(public member function) | |
destructs amessages facet(protected member function) | |
invokesdo_open(public member function)[edit] | |
invokesdo_get(public member function)[edit] | |
invokesdo_close(public member function)[edit] |
[virtual] | opens a named message catalog (virtual protected member function)[edit] |
[virtual] | retrieves a message from an open message catalog (virtual protected member function)[edit] |
[virtual] | closes a message catalog (virtual protected member function)[edit] |
| Type | Definition |
catalog | an unspecified signed integer type |
| defines messages catalog type (class)[edit] | |
| represents the system-suppliedstd::messages for the named locale (class template)[edit] |