to_utf16string 函式

從窄字串或寬字串解碼為 UTF-16

_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 命名空間