Compartilhar via


u16string

A type that describes a specialization of the template class basic_string with elements of type char16_t.

Other typedefs that specialize basic_string include wstring, string, and u32string.

typedef basic_string<char16_t, char_traits<char16_t>, allocator<char16_t>> u16string;

Remarks

For a list of string constructors, see basic_string::basic_string.

Requirements

Header: <string>

Namespace: std

See Also

Reference

<string>

basic_string Class