std:: wctrans
| 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 | |||||||||||||||||||||||||
|
|||||||||||||||||||||||||
| Functions | ||||||||||||||||||||||||||
| Character classification | ||||||||||||||||||||||||||
| Character manipulation | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| Conversions to numeric formats | ||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||
| String manipulation | ||||||||||||||||||||||||||
| String examination | ||||||||||||||||||||||||||
| Array manipulation | ||||||||||||||||||||||||||
|
定义于头文件
<cwctype>
|
||
|
std::
wctrans_t
wctrans
(
const
char
*
str
)
;
|
||
构造一个类型为
std::
wctrans_t
的值,用于描述宽字符映射的
LC_CTYPE
类别。该映射可以是标准映射之一,也可以是区域特定的映射,例如
"tojhira"
或
"tojkata"
。
目录 |
参数
| str | - |
包含所需映射名称的C字符串。
在所有C语言区域设置中,以下
|
返回值
std:: wctrans_t 对象,适用于与 std::towctrans 配合使用,用于根据当前 C 区域设置的命名映射来转换宽字符;如果 str 未命名当前 C 区域设置支持的映射,则返回零值。
示例
|
本节内容不完整
原因:缺少示例 |
参见
根据指定的
LC_CTYPE
映射类别执行字符映射
(函数) |
|
|
C 文档
关于
wctrans
|
|