messages Class

The template class describes an object that can serve as a locale facet to retrieve localized messages from a catalog of internationalized messages for a given locale.

Currently, while the messages class is implemented, there are no messages.

For a list of all members of this type, see messages Members.

template <class CharType>
class messages : public messages_base

Parameters

  • CharType
    The type used within a program to encode characters in a locale.

Remarks

As with any locale facet, the static object ID has an initial stored value of zero. The first attempt to access its stored value stores a unique positive value in id.

This facet basically opens a catalog of messages defined in the base class messages_base, retrieves the information required, and closes the catalog.

Requirements

Header: <locale>

Namespace: std

See Also

Concepts

messages Members

messages_base Class

<locale> Members

Thread Safety in the Standard C++ Library