Strings library
Contents |
Null terminated narrow string management
Null-terminated wide string management
basic_string
Defined in header <string>
|
||
template< typename 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:
Template:tdcl list begin Template:tdcl list header Template:tdcl list hitem Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list item Template:tdcl list end
Hash support
The following specializations of class template hash are defined. These specializations provide hash support for default string types.
Template:ddcl list begin <tr class="t-dsc-header">
<td><string>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td >template<> class hash<wstring>;
template<> class hash<u16string>;
<td class="t-dcl-nopad"> </td>
<td > Template:mark c++11 feature
Template:mark c++11 feature
Template:mark c++11 feature
Template:mark c++11 feature </td>
</tr>
Template:ddcl list end
char_traits
Strings library provides class template char_traits
, defining types and functions for a character container. The following specializations are defined:
Template:ddcl list begin <tr class="t-dsc-header">
<td><string>
<td></td> <td></td> </tr> <tr class="t-dcl ">
<td >template<> class char_traits<wstring>;
template<> class char_traits<u16string>;
<td class="t-dcl-nopad"> </td>
<td >
Template:mark c++11 feature
Template:mark c++11 feature </td>
</tr>
Template:ddcl list end