Difference between revisions of "cpp/locale/messages base"
From cppreference.com
m (Text replace - "{{tdcl" to "{{dcl") |
m (tt) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | {{cpp/title | messages_base}} | + | {{cpp/title|messages_base}} |
− | {{cpp/locale/ | + | {{cpp/locale/navbar}} |
− | {{ | + | {{dcl begin}} |
− | {{ | + | {{dcl header|locale}} |
− | {{ | + | {{dcl|1= |
class messages_base; | class messages_base; | ||
}} | }} | ||
− | {{ | + | {{dcl end}} |
− | The class {{ | + | The class {{tt|std::messages_base}} provides a type definition which is inherited and used by the {{lc|std::messages}} facets. |
===Member types=== | ===Member types=== | ||
− | {{ | + | {{dsc begin}} |
− | {{ | + | {{dsc hitem|Member type|Definition}} |
− | {{ | + | {{dsc|{{tt|catalog}}|An unspecified signed integer type}} |
− | {{ | + | {{dsc end}} |
+ | |||
+ | ===Defect reports=== | ||
+ | {{dr list begin}} | ||
+ | {{dr list item|wg=lwg|dr=2028|std=C++98|before={{tt|catalog}} was defined as {{c/core|int}}|after=defined as an unspecified signed integer type<ref>The catalog type {{tt|nl_catd}} used in [https://unix.org/version4/ POSIX messaging API] is a typedef of an unspecified type.</ref>}} | ||
+ | {{dr list end}} | ||
+ | <references/> | ||
===See also=== | ===See also=== | ||
− | {{ | + | {{dsc begin}} |
− | {{ | + | {{dsc inc|cpp/locale/dsc messages}} |
− | {{ | + | {{dsc end}} |
+ | |||
+ | {{langlinks|de|es|fr|it|ja|pt|ru|zh}} |
Latest revision as of 05:18, 11 August 2023
Defined in header <locale>
|
||
class messages_base; |
||
The class std::messages_base
provides a type definition which is inherited and used by the std::messages facets.
[edit] Member types
Member type | Definition |
catalog
|
An unspecified signed integer type |
[edit] Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR | Applied to | Behavior as published | Correct behavior |
---|---|---|---|
LWG 2028 | C++98 | catalog was defined as int
|
defined as an unspecified signed integer type[1] |
- ↑ The catalog type
nl_catd
used in POSIX messaging API is a typedef of an unspecified type.
[edit] See also
implements retrieval of strings from message catalogs (class template) |