假定字符类型 T,将 string 或 wstring 转换为 basic_string<T>。
template <
typename CharType
>
struct to_basic_string;
template <>
struct to_basic_string<char>;
参数
- CharType
成员
公共方法
名称 |
描述 |
---|---|
要求
**标头:**asyncrt_utils.h
**命名空间:**utility::conversions
假定字符类型 T,将 string 或 wstring 转换为 basic_string<T>。
template <
typename CharType
>
struct to_basic_string;
template <>
struct to_basic_string<char>;
名称 |
描述 |
---|---|
**标头:**asyncrt_utils.h
**命名空间:**utility::conversions