to_utf16string 函数

从窄或宽字符串解码为 utf16

_ASYNCRTIMP utf16string __cdecl to_utf16string(
   const std::string &value
);

_ASYNCRTIMP utf16string __cdecl to_utf16string(
   const utf16string &value
);

参数

  • value

要求

**标头:**asyncrt_utils.h

**命名空间:**utility::conversions

请参见

参考

utility::conversions 命名空间