std:: messages_base
From cppreference.net
C++
Text processing library
| Localization library | |||||||||||||||||||||||||
| Regular expressions library (C++11) | |||||||||||||||||||||||||
| Formatting library (C++20) | |||||||||||||||||||||||||
| Null-terminated sequence utilities | |||||||||||||||||||||||||
| Byte strings | |||||||||||||||||||||||||
| Multibyte strings | |||||||||||||||||||||||||
| Wide strings | |||||||||||||||||||||||||
| Primitive numeric conversions | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Text encoding identifications | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
Localization library
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
定义于头文件
<locale>
|
||
|
class
messages_base
;
|
||
类
std::messages_base
提供了一个类型定义,该定义被
std::messages
平面所继承和使用。
成员类型
| 成员类型 | 定义 |
catalog
|
未指定的有符号整数类型 |
缺陷报告
以下行为变更缺陷报告被追溯应用于先前发布的C++标准。
| 缺陷报告 | 应用于 | 发布时行为 | 正确行为 |
|---|---|---|---|
| LWG 2028 | C++98 |
catalog
被定义为
int
|
定义为未指定的有符号整数类型 [1] |
-
↑
在
POSIX消息传递API
中使用的目录类型
nl_catd是未指定类型的typedef。
参阅
|
实现从消息目录中检索字符串
(类模板) |