(since C++11) (deprecated in C++17) 类模板std::wstring_convert执行字节字符串之间的转换。std::string宽绳std::basic_string<Elem>,使用单独的代码转换方面。Codecvt...std::wstring_convert假定转换面的所有权,并且不能使用由区域设置管理的方面。适用于与std::wstring_convert是std::codecvt_utf8对于UTF-8...
codecvt_mode (C++11/17/26*) C library locales LC_ALLLC_COLLATELC_CTYPELC_MONETARYLC_NUMERICLC_TIME setlocale localeconv lconv std::wstring_convert Member functions wstring_convert::wstring_convert wstring_convert::~wstring_convert wstring_convert::from_bytes wstring_convert::to_bytes wstring_conve...
<cpp |locale |wstring convert Defined in header<locale> byte_string to_bytes(Elem wchar); (1) byte_string to_bytes(constElem*wptr); (2) byte_string to_bytes(constwide_string&wstr); (3) byte_string to_bytes(constElem*first,constElem*last); ...