You were redirected to cplusplus.com/wstring || See search results for: "wstring"
class
<string>

std::wstring

typedef basic_string<wchar_t> wstring;
Wide string
String class for wide characters.

This is an instantiation of the basic_string class template that uses wchar_t as the character type, with its default char_traits and allocator types (see basic_string for more info on the template).

Member types

member typedefinition
value_typewchar_t
traits_typechar_traits<wchar_t>
allocator_typeallocator<wchar_t>
referencewchar_t&
const_referenceconst wchar_t&
pointerwchar_t*
const_pointerconst wchar_t*
iteratora random access iterator to wchar_t (convertible to const_iterator)
const_iteratora random access iterator to const wchar_t
reverse_iteratorreverse_iterator<iterator>
const_reverse_iteratorreverse_iterator<const_iterator>
difference_typeptrdiff_t
size_typesize_t

Member functions

Note: The references to the members of its basic template (basic_string) are linked here.


Iterators:

Capacity:

Element access:

Modifiers:

String operations:

Member constants

Note: The references to the members of its basic template (basic_string) are linked here.

Non-member functions overloads

Note: The references to the general overloads of its basic template (basic_string) are shown here.