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.