Compartilhar via


messages::open

Opens the message catalog.

catalog open(
    const string& _Catname,
    const locale& _Loc
) const;

Parameters

  • _Catname
    The name of the catalog to be searched.

  • _Loc
    The locale being searched for in the catalog.

Return Value

It returns a value that compares less than zero on failure. Otherwise, the returned value can be used as the first argument on a later call to get.

Remarks

The member function returns do_open(_Catname, _Loc).

Requirements

Header: <locale>

Namespace: std

See Also

Reference

messages Class