#include <stlsoft/string/string_traits_fwd.hpp>
string_traits is a traits class for determining various characteristics of strings.
| C | The char type |
Public Types | |
| enum | { is_pointer } |
| enum | { is_pointer_to_const } |
| enum | { char_type_size } |
| enum | { is_mutating } |
| typedef C | value_type |
| The value type. | |
| typedef C | char_type |
| The char type. | |
| typedef size_t | size_type |
| The size type. | |
Static Public Member Functions | |
| static string_type | empty_string () |
| Returns an instance of the empty string form of the string type. | |
| static string_type | construct (string_type const &src, size_type pos, size_type len) |
| Constructs an instance of the string type. | |
| template<typename I> | |
| static string_type & | assign_inplace (string_type &str, I first, I last) |
| Assigns a new value to the string, based on the range [first, last). | |
Public Attributes | |
| typedef | string_type |
| The string type. | |
| typedef | iterator |
| The iterator type. Not defined for non-mutating type. | |
| typedef | const_iterator |
| The const_iterator type. | |
| typedef | pointer |
| The pointer type. Not defined for non-mutating type. | |
| typedef | const_pointer |
| The const_pointer type. | |
| typedef C value_type |
The value type.
| typedef C char_type |
The char type.
| static string_type empty_string | ( | ) | [static] |
Returns an instance of the empty string form of the string type.
| static string_type construct | ( | string_type const & | src, | |
| size_type | pos, | |||
| size_type | len | |||
| ) | [static] |
Constructs an instance of the string type.
| static string_type& assign_inplace | ( | string_type & | str, | |
| I | first, | |||
| I | last | |||
| ) | [inline, static] |
Assigns a new value to the string, based on the range [first, last).
| typedef string_type |
The string type.
| typedef iterator |
The iterator type. Not defined for non-mutating type.
| typedef const_iterator |
The const_iterator type.
| typedef pointer |
The pointer type. Not defined for non-mutating type.
| typedef const_pointer |
The const_pointer type.
1.5.6