public member function
<locale>

std::messages::close

void close (catalog cat) const;
Closse message catalog
Closes the message catalog cat.

After a call to messages::close, cat should no longer be passed to messages::get.

Internally, this function simply calls the virtual protected member do_close, which releases the resources associated with car.

Parameters

cat
Catalog identifier: This value shall have been obtained by a previous call to messages::open.
Member type catalog is an alias of the fundamental type int, inherited from messages_base.

Return value

none

See also