|
| enum | { size = sizeof ... (chars)
} |
| |
| enum | { empty = (size == 0)
} |
| |
|
typedef basic_string< T, chars...> | type |
| | This type.
|
| |
|
typedef T | value_type |
| | The type of the string characters.
|
| |
| template<std::size_t pos, class Str > |
| using | insert = tinympl::insert< pos, Str, basic_string< T, chars...> > |
| | Return a new string constructed by inserting the string Str at the position pos. More...
|
| |
| template<std::size_t pos, T... NewChars> |
| using | insert_c = insert< pos, basic_string< T, NewChars...> > |
| | Return a new string constructed by inserting the characters NewChars... at the position pos More...
|
| |
| template<std::size_t pos, std::size_t count> |
| using | erase = tinympl::erase< pos, pos+count, basic_string< T, chars...> > |
| | Return a new string constructed by removing count characters starting at position pos. More...
|
| |
| template<class Str > |
| using | append = insert< size, Str > |
| | Return a new string constructed by appending the string Str at the end of this string. More...
|
| |
| template<T... NewChars> |
| using | append_c = insert_c< size, NewChars...> |
| | Return a new string constructed by appending the characters NewChars... at the end of this string. More...
|
| |
| template<std::size_t pos, std::size_t count, T... ts> |
| using | replace_c = replace< pos, count, basic_string< T, ts...> > |
| | Return a new string constructed by replacing count characters starting at pos with the characters ts... More...
|
| |
| template<class OtherStr > |
| using | compare = lexicographical_compare< basic_string< T, chars...>, OtherStr > |
| | Alias for lexicographical_compare, mimic std::string::compare. More...
|
| |
| template<class Str > |
| using | find = find_impl< Str, 0, size > |
| | Return the index of the first character of the first occurrence of the substring Str, or size if Str is not a substring of this string. More...
|
| |
|
template<class Str > |
| using | rfind = rfind_impl< Str, size > |
| | Return the index of the first character of the last occurrence of the substring Str, or size if Str is not a substring of this string.
|
| |
|
template<T... ts> |
| using | find_c = find< basic_string< T, ts...> > |
| | Return the index of the first character of the first occurrence of the substring ts..., or size if ts... is not a substring of this string.
|
| |
|
template<T... ts> |
| using | rfind_c = rfind< basic_string< T, ts...> > |
| | Return the index of the first character of the last occurrence of the substring ts..., or size if ts... is not a substring of this string.
|
| |
template<class T, T... chars>
class tinympl::basic_string< T, chars >
A vector of values of type T.
- Parameters
-
| T | The type of the characters |
| chars... | The characters which compose the string |