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。
本文档系腾讯云开发者社区成员共同维护,如有问题请联系 cloudcommunity@tencent.com

