Strings library
From cppreference.com
< cpp
C++ Reference | |||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Strings library | |||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||
Contents |
[edit] Null-terminated byte string management
[edit] Null-terminated multibyte string management
[edit] Null-terminated wide string management
[edit] basic_string
Defined in header <string>
|
||
template< class CharT, |
||
The class basic_string generalizes the way how sequences of characters are manipulated and stored.
Several specializations of the class basic_string are provided:
Defined in header <string>
| |
Type | Definition |
string | basic_string<char> |
wstring | basic_string<wchar_t> |
u16string | basic_string<char16_t> |
u32string | basic_string<char32_t> |
[edit] char_traits
Strings library provides class template char_traits, defining types and functions for a character container. The following specializations are defined:
Defined in header <string>
|
||
template<> class char_traits<std::string>; template<> class char_traits<std::wstring>; |
(since C++11) (since C++11) |
|