Share via


to_string_t 函式

從 UTF-16 或 UTF-8 字串解碼為 string_t

_ASYNCRTIMP utility::string_t __cdecl to_string_t(
   const std::string &s
);

_ASYNCRTIMP utility::string_t __cdecl to_string_t(
   const utf16string &s
);

參數

  • s

需求

**標頭:**asyncrt_utils.h

**命名空間:**utility::conversions

請參閱

參考

utility::conversions 命名空間