std::basic_ios::widen
性病:基本[医]监督办::扩大
char_type widen( char c ) const; | | |
---|
转换字符c
在当前区域设置中与其等效。结果被转换为char
如果需要,可以使用流中的字符类型。
有效呼叫std::use_facet<std::ctype<char_type>>(getloc()).widen(c)...
参数
c | - | character to convert |
---|
返回值
字符转换为char_type
...
另见
narrow | narrows characters (public member function) |
---|---|
do_widen virtual | converts a character or characters from char to charT (virtual protected member function of std::ctype) |
btowc | widens a single-byte narrow character to wide character, if possible (function) |
© cppreference.com
在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。