During its operation, the version of this function in the generic template simply calls the virtual protected member do_open, which is the member function in charge of performing the actions described above.
- string identifying a message catalog.
- locale object. It is only used for character set code conversions while retrieving messages.
Return valueAn object of member type messages::catalog that identifies the message catalog. This value is only meant to be used by member get, to access the individual messages, and by member close, which closes the catalog and invalidates this value as a catalog identifier.
If the function cannot open the catalog, it returns a value which is less than zero.
|messages::get||Get message from catalog (public member function)|
|messages::close||Closse message catalog (public member function)|