Reference
C Library
IOstream Library
Strings library
STL Containers
STL Algorithms
Miscellaneous
Miscellaneous
complex
exception
functional
iterator
limits
locale
memory
new
numeric
stdexcept
typeinfo
utility
valarray
locale
has_facet
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
locale
tolower
toupper
use_facet
standard facets:
codecvt
codecvt_base
codecvt_byname
collate
collate_byname
ctype
ctype_base
ctype_byname
messages
messages_base
messages_byname
moneypunct
moneypunct_byname
money_base
money_get
money_put
numpunct
numpunct_byname
num_get
num_put
time_base
time_get
time_get_byname
time_put
time_put_byname
messages
messages::messages
public member functions:
messages::close
messages::get
messages::open
public member types:
messages::catalog
messages::char_type
messages::string_type
protected members:
messages::do_close
messages::do_get
messages::do_open
messages::~messages


messages

class template
<locale>
template <class charT> class messages;

Facet to access message catalogs

messages

The messages standard facet is used to read individual strings from a message catalog.

The specifics on how messages are organized in a catalog are dependent on the library implementation.

messages objects are prevented to be locally constructed by having a protected destructor. Only those installed in locale objects should be used through mechanisms such as use_facet.

This template class has one template parameter, representing the character type with which the facet works. This template parameter is referred in this entire reference as charT.

Public members

It includes the following public member functions:


It also declares the following types:

And inherits the following type:

Virtual protected members

The class defines the virtual protected members in charge of implementing the expected behavior of their respective public member functions:

Along with the class destructor: