cpp/locale/messages/open

1) Public member function, calls the protected virtual member function of the most derived class.

2) Obtains a value of type (inherited from std), which can be passed to get to retrieve messages from the message catalog named by . This value is usable until passed to close.

Return value
The non-negative value of type that can be used with get and close. Returns a negative value if the catalog could not be opened.