Windows Dev Center

The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.


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;

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

Header: <string>

Namespace: std

© 2015 Microsoft