在线文档教程
C++
字符串 | Strings

std::wctrans

STD::WcTransa

Defined in header
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 towlowerValue of strEffect"toupper"identifies the mapping used by towupper"tolower"identifies the mapping used by towlower
Value of strEffect
"toupper"identifies the mapping used by towupper
"tolower"identifies the mapping used by towlower

返回值

std::wctrans_t对象适合与std::towctrans根据当前C语言环境的命名映射或零if映射宽字符str不指定当前C语言环境支持的映射。

另见

towctransperforms character mapping according to the specified LC_CTYPE mapping category (function)

c wctransc文件

© cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

http://en.cppreference.com/w/cpp/string/Wide/wctransc