std::wctrans
Defined in header <cwctype> | | |
|---|---|---|
std::wctrans_t wctrans( const char* str ); | | |
构造类型的值。std::wctrans_t描述LC[医]宽字符映射的类型。它可能是标准映射之一,也可能是特定于地区的映射,例如"tojhira"或"tojkana"...
参数
str | - | C string holding the name of the desired mapping. The following values of str are supported in all C locales: Value of str Effect "toupper" identifies the mapping used by towupper "tolower" identifies the mapping used by towlower | Value of str | Effect | "toupper" | identifies the mapping used by towupper | "tolower" | identifies the mapping used by towlower |
|---|---|---|---|---|---|---|---|---|
Value of str | Effect | |||||||
"toupper" | identifies the mapping used by towupper | |||||||
"tolower" | identifies the mapping used by towlower |
返回值
std::wctrans_t对象适合与std::towctrans根据当前C语言环境的命名映射或零if映射宽字符str不指定当前C语言环境支持的映射。
另见
towctrans | performs character mapping according to the specified LC_CTYPE mapping category (function) |
|---|
c wctransc文件
© cppreference.com在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

