GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::messages(3) C++ Standard Libary std::messages(3)

std::messages - std::messages


Defined in header <locale>
template< class CharT >
class messages;


Class template std::messages is a standard locale facet that encapsulates retrieval
of strings from message catalogs, such as the ones provided by GNU gettext or by
POSIX catgets.


The source of the messages is implementation-defined.


std-messages-inheritance.svg


Inheritance diagram


Two standalone (locale-independent) specializations are provided by the standard
library:


Defined in header <locale>
std::messages<char> accesses narrow string message catalog
std::messages<wchar_t> accesses wide string message catalog


In addition, every locale object constructed in a C++ program implements its own
(locale-specific) versions of these specializations.


Member type Definition
char_type CharT
string_type std::basic_string<CharT>


constructor constructs a new messages facet
(public member function)
destructor destructs a messages facet
(protected member function)
open invokes do_open
(public member function)
get invokes do_get
(public member function)
close invokes do_close
(public member function)


static std::locale::id id id of the locale
(public member object)


do_open opens a named message catalog
[virtual] (virtual protected member function)
do_get retrieves a message from an open message catalog
[virtual] (virtual protected member function)
do_close closes a message catalog
[virtual] (virtual protected member function)

Inherited from std::messages_base


Type Definition
catalog /*unspecified signed integer type*/


messages_base defines messages catalog type
(class template)
messages_byname creates a messages facet for the named locale
(class template)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.