Compartilhar via


messages::get

Retrieves the message catalog.

string_type get(
    catalog _CatVal, 
    int _Set, 
    int _Message,
    const string_type& _Dfault
) const;

Parameters

  • _Catval
    The identification value specifying the message catalog to be searched.

  • _Set
    The first identified used to locate a message in a message catalog.

  • _Message
    The second identified used to locate a message in a message catalog.

  • _Dfault
    The string to be returned on failure.

Return Value

It returns a copy of _Dfault on failure. Otherwise, it returns a copy of the specified message sequence.

Remarks

The member function returns do_get(_Catval, _Set, _Message, _Dfault).

Requirements

Header: <locale>

Namespace: std

See Also

Reference

messages Class

Other Resources

messages Members