从窄或宽字符串解码为 utf16
_ASYNCRTIMP utf16string __cdecl to_utf16string(
const std::string &value
);
_ASYNCRTIMP utf16string __cdecl to_utf16string(
const utf16string &value
);
参数
- value
要求
**标头:**asyncrt_utils.h
**命名空间:**utility::conversions
从窄或宽字符串解码为 utf16
_ASYNCRTIMP utf16string __cdecl to_utf16string(
const std::string &value
);
_ASYNCRTIMP utf16string __cdecl to_utf16string(
const utf16string &value
);
**标头:**asyncrt_utils.h
**命名空间:**utility::conversions