首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

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文件

代码语言:txt
复制
 © cppreference.com

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

扫码关注腾讯云开发者

领取腾讯云代金券