header

<string>

Strings

This header introduces string types, character traits and a set of converting functions:

Class templates

basic_string
Generic string class (class template)
char_traits
Character traits (class template)

Class instantiations

string
String class (class)
u16string
String of 16-bit characters (class)
u32string
String of 32-bit characters (class)
wstring
Wide string (class)

Functions

Convert from strings

stoi
Convert string to integer (function template)
stol
Convert string to long int (function template)
stoul
Convert string to unsigned integer (function template)
stoll
Convert string to long long (function template)
stoull
Convert string to unsigned long long (function template)
stof
Convert string to float (function template)
stod
Convert string to double (function template)
stold
Convert string to long double (function template)

Convert to strings

to_string
Convert numerical value to string (function)
to_wstring
Convert numerical value to wide string (function)

Range access

begin
Iterator to beginning (function template)
end
Iterator to end (function template)