Inherits _Base<_CharT, _Traits, _Alloc>.
Definition at line 49 of file vstring.h.
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | const _Alloc & | __a | ) | [inline, explicit] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | __versa_string< _CharT, _Traits, _Alloc, _Base > && | __str | ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | std::initializer_list< _CharT > | __l, | |
| const _Alloc & | __a = _Alloc() | |||
| ) | [inline] |
Construct string from an initializer list.
| __l | std::initializer_list of characters. | |
| __a | Allocator to use (default is default allocator). |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos, | |||
| size_type | __n = npos | |||
| ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos, | |||
| size_type | __n, | |||
| const _Alloc & | __a | |||
| ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | const _CharT * | __s, | |
| size_type | __n, | |||
| const _Alloc & | __a = _Alloc() | |||
| ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | const _CharT * | __s, | |
| const _Alloc & | __a = _Alloc() | |||
| ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | size_type | __n, | |
| _CharT | __c, | |||
| const _Alloc & | __a = _Alloc() | |||
| ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::__versa_string | ( | _InputIterator | __beg, | |
| _InputIterator | __end, | |||
| const _Alloc & | __a = _Alloc() | |||
| ) | [inline] |
| __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::~__versa_string | ( | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append | ( | _InputIterator | __first, | |
| _InputIterator | __last | |||
| ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append | ( | std::initializer_list< _CharT > | __l | ) | [inline] |
Append an initializer_list of characters.
| __l | The initializer_list of characters to append. |
Definition at line 729 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append(), std::initializer_list< _E >::begin(), and std::initializer_list< _E >::end().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append | ( | size_type | __n, | |
| _CharT | __c | |||
| ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append | ( | const _CharT * | __s | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append | ( | const _CharT * | __s, | |
| size_type | __n | |||
| ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | [inline] |
Append a substring.
| __str | The string to append. | |
| __pos | Index of the first character of str to append. | |
| __n | The number of characters to append. |
| std::out_of_range | if pos is not a valid index. |
Definition at line 677 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_check(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_limit().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | ) | [inline] |
Append a string to this string.
| __str | The string to append. |
Definition at line 660 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by std::getline(), and __gnu_cxx::operator+().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign | ( | std::initializer_list< _CharT > | __l | ) | [inline] |
Set value to an initializer_list of characters.
| __l | The initializer_list of characters to assign. |
Definition at line 860 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign(), std::initializer_list< _E >::begin(), and std::initializer_list< _E >::end().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign | ( | _InputIterator | __first, | |
| _InputIterator | __last | |||
| ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign | ( | size_type | __n, | |
| _CharT | __c | |||
| ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign | ( | const _CharT * | __s | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign | ( | const _CharT * | __s, | |
| size_type | __n | |||
| ) | [inline] |
Set value to a C substring.
| __s | The C string to use. | |
| __n | Number of characters to use. |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | [inline] |
Set value to a substring of a string.
| __str | The string to use. | |
| __pos | Index of the first character of str. | |
| __n | Number of characters to use. |
| std::out_of_range | if __pos is not a valid index. |
Definition at line 786 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_check(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_limit().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::assign | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | ) | [inline] |
| reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::at | ( | size_type | __n | ) | [inline] |
Provides access to the data contained in the string.
| __n | The index of the character to access. |
| std::out_of_range | If __n is an invalid index. |
| const_reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::at | ( | size_type | __n | ) | const [inline] |
Provides access to the data contained in the string.
| __n | The index of the character to access. |
| std::out_of_range | If __n is an invalid index. |
| const_reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::back | ( | ) | const [inline] |
| reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::back | ( | ) | [inline] |
| const_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::begin | ( | ) | const [inline] |
| iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::begin | ( | ) | [inline] |
| const _CharT* __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::c_str | ( | ) | const [inline] |
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::capacity | ( | ) | const [inline] |
| const_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::cbegin | ( | ) | const [inline] |
| const_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::cend | ( | ) | const [inline] |
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::clear | ( | ) | [inline] |
| int __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare | ( | size_type | __pos, | |
| size_type | __n1, | |||
| const _CharT * | __s, | |||
| size_type | __n2 | |||
| ) | const [inline] |
Compare substring against a character array.
| __pos1 | Index of first character of substring. | |
| __n1 | Number of characters in substring. | |
| __s | character array to compare against. | |
| __n2 | Number of characters of s. |
NB: s must have at least n2 characters, '\0' has no special meaning.
Definition at line 527 of file vstring.tcc.
References __gnu_parallel::min().
| int __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare | ( | size_type | __pos, | |
| size_type | __n1, | |||
| const _CharT * | __s | |||
| ) | const [inline] |
Compare substring to a C string.
| __pos | Index of first character of substring. | |
| __n1 | Number of characters in substring. | |
| __s | C string to compare against. |
Definition at line 510 of file vstring.tcc.
References __gnu_parallel::min().
| int __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare | ( | const _CharT * | __s | ) | const [inline] |
Compare to a C string.
| __s | C string to compare against. |
Definition at line 494 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::length(), __gnu_parallel::min(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| int __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare | ( | size_type | __pos1, | |
| size_type | __n1, | |||
| const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |||
| size_type | __pos2, | |||
| size_type | __n2 | |||
| ) | const [inline] |
Compare substring to a substring.
| __pos1 | Index of first character of substring. | |
| __n1 | Number of characters in substring. | |
| __str | String to compare against. | |
| __pos2 | Index of first character of substring of str. | |
| __n2 | Number of characters in substring of str. |
Definition at line 475 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_check(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_limit(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), and __gnu_parallel::min().
| int __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare | ( | size_type | __pos, | |
| size_type | __n, | |||
| const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | |||
| ) | const [inline] |
Compare substring to a string.
| __pos | Index of first character of substring. | |
| __n | Number of characters in substring. | |
| __str | String to compare against. |
Definition at line 458 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), __gnu_parallel::min(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| int __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | ) | const [inline] |
Compare to a string.
| __str | String to compare against. |
Definition at line 1876 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), std::min(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare(), __gnu_cxx::operator<(), __gnu_cxx::operator<=(), __gnu_cxx::operator==(), __gnu_cxx::operator>(), and __gnu_cxx::operator>=().
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::copy | ( | _CharT * | __s, | |
| size_type | __n, | |||
| size_type | __pos = 0 | |||
| ) | const [inline] |
Copy substring into C string.
| __s | C string to copy value into. | |
| __n | Number of characters to copy. | |
| __pos | Index of first character to copy. |
| std::out_of_range | If pos > size(). |
Definition at line 253 of file vstring.tcc.
| const_reverse_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::crbegin | ( | ) | const [inline] |
| const_reverse_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::crend | ( | ) | const [inline] |
| const _CharT* __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data | ( | ) | const [inline] |
Return const pointer to contents.
This is a handle to internal data. Do not modify or dire things may happen.
Definition at line 1467 of file vstring.h.
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind().
| bool __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::empty | ( | ) | const [inline] |
| const_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::end | ( | ) | const [inline] |
| iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::end | ( | ) | [inline] |
| iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::erase | ( | iterator | __first, | |
| iterator | __last | |||
| ) | [inline] |
Remove a range of characters.
| __first | Iterator referencing the first character to remove. | |
| __last | Iterator referencing the end of the range. |
| iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::erase | ( | iterator | __position | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::erase | ( | size_type | __pos = 0, |
|
| size_type | __n = npos | |||
| ) | [inline] |
Remove characters.
| __pos | Index of first character to remove (default 0). | |
| __n | Number of characters to remove (default remainder). |
| std::out_of_range | If __pos is beyond the end of this string. |
Definition at line 1055 of file vstring.h.
Referenced by std::getline().
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find | ( | _CharT | __c, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a character.
| __c | Character to locate. | |
| __pos | Index of character to search from (default 0). |
Definition at line 292 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find | ( | const _CharT * | __s, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a C string.
| __s | C string to locate. | |
| __pos | Index of character to search from (default 0). |
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a string.
| __str | String to locate. | |
| __pos | Index of character to search from (default 0). |
Definition at line 1503 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find().
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find | ( | const _CharT * | __s, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | const [inline] |
Find position of a C substring.
| __s | C string to locate. | |
| __pos | Index of character to search from. | |
| __n | Number of characters from __s to search for. |
Definition at line 268 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of().
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of | ( | _CharT | __c, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a different character.
| __c | Character to avoid. | |
| __pos | Index of character to search from (default 0). |
Definition at line 403 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of | ( | const _CharT * | __s, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a character not in C string.
| __s | C string containing characters to avoid. | |
| __pos | Index of character to search from (default 0). |
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of | ( | const _CharT * | __s, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | const [inline] |
Find position of a character not in C substring.
| __s | C string containing characters to avoid. | |
| __pos | Index of character to search from. | |
| __n | Number of characters from s to consider. |
Definition at line 390 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a character not in string.
| __str | String containing characters to avoid. | |
| __pos | Index of character to search from (default 0). |
Definition at line 1731 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of | ( | _CharT | __c, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a character.
| __c | Character to locate. | |
| __pos | Index of character to search from (default 0). |
Note: equivalent to find(c, pos).
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of | ( | const _CharT * | __s, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a character of C string.
| __s | String containing characters to locate. | |
| __pos | Index of character to search from (default 0). |
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of | ( | const _CharT * | __s, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | const [inline] |
Find position of a character of C substring.
| __s | String containing characters to locate. | |
| __pos | Index of character to search from. | |
| __n | Number of characters from s to search for. |
Definition at line 351 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos = 0 | |||
| ) | const [inline] |
Find position of a character of string.
| __str | String containing characters to locate. | |
| __pos | Index of character to search from (default 0). |
Definition at line 1606 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of().
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of | ( | _CharT | __c, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a different character.
| __c | Character to avoid. | |
| __pos | Index of character to search back from (default end). |
Definition at line 437 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of | ( | const _CharT * | __s, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a character not in C string.
| __s | C string containing characters to avoid. | |
| __pos | Index of character to search back from (default end). |
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of | ( | const _CharT * | __s, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | const [inline] |
Find last position of a character not in C substring.
| __s | C string containing characters to avoid. | |
| __pos | Index of character to search back from. | |
| __n | Number of characters from s to consider. |
Definition at line 415 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a character not in string.
| __str | String containing characters to avoid. | |
| __pos | Index of character to search back from (default end). |
Definition at line 1792 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of | ( | _CharT | __c, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a character.
| __c | Character to locate. | |
| __pos | Index of character to search back from (default end). |
Note: equivalent to rfind(c, pos).
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of | ( | const _CharT * | __s, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a character of C string.
| __s | C string containing characters to locate. | |
| __pos | Index of character to search back from (default end). |
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of | ( | const _CharT * | __s, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | const [inline] |
Find last position of a character of C substring.
| __s | C string containing characters to locate. | |
| __pos | Index of character to search back from. | |
| __n | Number of characters from s to search for. |
Definition at line 368 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a character of string.
| __str | String containing characters to locate. | |
| __pos | Index of character to search back from (default end). |
Definition at line 1669 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of().
| const_reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::front | ( | ) | const [inline] |
| reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::front | ( | ) | [inline] |
| allocator_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::get_allocator | ( | ) | const [inline] |
| iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | iterator | __p, | |
| _CharT | __c | |||
| ) | [inline] |
Insert one character.
| __p | Iterator referencing position in string to insert at. | |
| __c | The character to insert. |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | size_type | __pos, | |
| size_type | __n, | |||
| _CharT | __c | |||
| ) | [inline] |
Insert multiple characters.
| __pos | Index in string to insert at. | |
| __n | Number of characters to insert | |
| __c | The character to insert. |
| std::length_error | If new length exceeds max_size(). | |
| std::out_of_range | If __pos is beyond the end of this string. |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | size_type | __pos, | |
| const _CharT * | __s | |||
| ) | [inline] |
Insert a C string.
| __pos | Iterator referencing location in string to insert at. | |
| __s | The C string to insert. |
| std::length_error | If new length exceeds max_size(). | |
| std::out_of_range | If __pos is beyond the end of this string. |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | size_type | __pos, | |
| const _CharT * | __s, | |||
| size_type | __n | |||
| ) | [inline] |
Insert a C substring.
| __pos | Iterator referencing location in string to insert at. | |
| __s | The C string to insert. | |
| __n | The number of characters to insert. |
| std::length_error | If new length exceeds max_size(). | |
| std::out_of_range | If __pos is beyond the end of this string. |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | size_type | __pos1, | |
| const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |||
| size_type | __pos2, | |||
| size_type | __n | |||
| ) | [inline] |
Insert a substring.
| __pos1 | Iterator referencing location in string to insert at. | |
| __str | The string to insert. | |
| __pos2 | Start of characters in str to insert. | |
| __n | Number of characters to insert. |
| std::length_error | If new length exceeds max_size(). | |
| std::out_of_range | If __pos1 > size() or __pos2 > __str.size(). |
Definition at line 946 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_check(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_limit().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | size_type | __pos1, | |
| const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | |||
| ) | [inline] |
Insert value of a string.
| __pos1 | Iterator referencing location in string to insert at. | |
| __str | The string to insert. |
| std::length_error | If new length exceeds max_size(). |
Definition at line 923 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | iterator | __p, | |
| std::initializer_list< _CharT > | __l | |||
| ) | [inline] |
Insert an initializer_list of characters.
| __p | Iterator referencing location in string to insert at. | |
| __l | The initializer_list of characters to insert. |
| std::length_error | If new length exceeds max_size(). |
Definition at line 906 of file vstring.h.
References std::initializer_list< _E >::begin(), std::initializer_list< _E >::end(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert().
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | iterator | __p, | |
| _InputIterator | __beg, | |||
| _InputIterator | __end | |||
| ) | [inline] |
Insert a range of characters.
| __p | Iterator referencing location in string to insert at. | |
| __beg | Start of range. | |
| __end | End of range. |
| std::length_error | If new length exceeds max_size(). |
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert | ( | iterator | __p, | |
| size_type | __n, | |||
| _CharT | __c | |||
| ) | [inline] |
Insert multiple characters.
| __p | Iterator referencing location in string to insert at. | |
| __n | Number of characters to insert | |
| __c | The character to insert. |
| std::length_error | If new length exceeds max_size(). |
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::length | ( | ) | const [inline] |
Returns the number of characters in the string, not including any null-termination.
Definition at line 423 of file vstring.h.
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::max_size | ( | ) | const [inline] |
Returns the size() of the largest possible string.
Definition at line 428 of file vstring.h.
Referenced by std::getline().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator+= | ( | std::initializer_list< _CharT > | __l | ) | [inline] |
Append an initializer_list of characters.
| __l | The initializer_list of characters to be appended. |
Definition at line 650 of file vstring.h.
References std::initializer_list< _E >::begin(), and std::initializer_list< _E >::end().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator+= | ( | _CharT | __c | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator+= | ( | const _CharT * | __s | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator+= | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator= | ( | _CharT | __c | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator= | ( | const _CharT * | __s | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator= | ( | std::initializer_list< _CharT > | __l | ) | [inline] |
Set value to string constructed from initializer list.
| __l | std::initializer_list. |
Definition at line 272 of file vstring.h.
References std::initializer_list< _E >::begin(), and std::initializer_list< _E >::end().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator= | ( | __versa_string< _CharT, _Traits, _Alloc, _Base > && | __str | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator= | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | ) | [inline] |
| reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator[] | ( | size_type | __pos | ) | [inline] |
Subscript access to the data contained in the string.
| __pos | The index of the character to access. |
| const_reference __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::operator[] | ( | size_type | __pos | ) | const [inline] |
Subscript access to the data contained in the string.
| __pos | The index of the character to access. |
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::push_back | ( | _CharT | __c | ) | [inline] |
Append a single character.
| __c | Character to append. |
Definition at line 751 of file vstring.h.
Referenced by __gnu_cxx::operator+().
| const_reverse_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rbegin | ( | ) | const [inline] |
| reverse_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rbegin | ( | ) | [inline] |
| const_reverse_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rend | ( | ) | const [inline] |
| reverse_iterator __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rend | ( | ) | [inline] |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | iterator | __i1, | |
| iterator | __i2, | |||
| std::initializer_list< _CharT > | __l | |||
| ) | [inline] |
Replace range of characters with initializer_list.
| __i1 | Iterator referencing start of range to replace. | |
| __i2 | Iterator referencing end of range to replace. | |
| __l | The initializer_list of characters to insert. |
| std::length_error | If new length exceeds max_size(). |
Definition at line 1389 of file vstring.h.
References std::initializer_list< _E >::begin(), std::initializer_list< _E >::end(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | iterator | __i1, | |
| iterator | __i2, | |||
| _InputIterator | __k1, | |||
| _InputIterator | __k2 | |||
| ) | [inline] |
Replace range of characters with range.
| __i1 | Iterator referencing start of range to replace. | |
| __i2 | Iterator referencing end of range to replace. | |
| __k1 | Iterator referencing start of range to insert. | |
| __k2 | Iterator referencing end of range to insert. |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | iterator | __i1, | |
| iterator | __i2, | |||
| size_type | __n, | |||
| _CharT | __c | |||
| ) | [inline] |
Replace range of characters with multiple characters.
| __i1 | Iterator referencing start of range to replace. | |
| __i2 | Iterator referencing end of range to replace. | |
| __n | Number of characters to insert. | |
| __c | Character to insert. |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | iterator | __i1, | |
| iterator | __i2, | |||
| const _CharT * | __s | |||
| ) | [inline] |
Replace range of characters with C string.
| __i1 | Iterator referencing start of range to replace. | |
| __i2 | Iterator referencing end of range to replace. | |
| __s | C string value to insert. |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | iterator | __i1, | |
| iterator | __i2, | |||
| const _CharT * | __s, | |||
| size_type | __n | |||
| ) | [inline] |
Replace range of characters with C substring.
| __i1 | Iterator referencing start of range to replace. | |
| __i2 | Iterator referencing end of range to replace. | |
| __s | C string value to insert. | |
| __n | Number of characters from s to insert. |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | iterator | __i1, | |
| iterator | __i2, | |||
| const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | |||
| ) | [inline] |
Replace range of characters with string.
| __i1 | Iterator referencing start of range to replace. | |
| __i2 | Iterator referencing end of range to replace. | |
| __str | String value to insert. |
| std::length_error | If new length exceeds max_size(). |
Definition at line 1238 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | size_type | __pos, | |
| size_type | __n1, | |||
| size_type | __n2, | |||
| _CharT | __c | |||
| ) | [inline] |
Replace characters with multiple characters.
| __pos | Index of first character to replace. | |
| __n1 | Number of characters to be replaced. | |
| __n2 | Number of characters to insert. | |
| __c | Character to insert. |
| std::out_of_range | If __pos > size(). | |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | size_type | __pos, | |
| size_type | __n1, | |||
| const _CharT * | __s | |||
| ) | [inline] |
Replace characters with value of a C string.
| __pos | Index of first character to replace. | |
| __n1 | Number of characters to be replaced. | |
| __s | C string to insert. |
| std::out_of_range | If __pos > size(). | |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | size_type | __pos, | |
| size_type | __n1, | |||
| const _CharT * | __s, | |||
| size_type | __n2 | |||
| ) | [inline] |
Replace characters with value of a C substring.
| __pos | Index of first character to replace. | |
| __n1 | Number of characters to be replaced. | |
| __s | C string to insert. | |
| __n2 | Number of characters from __s to use. |
| std::out_of_range | If __pos1 > size(). | |
| std::length_error | If new length exceeds max_size(). |
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | size_type | __pos1, | |
| size_type | __n1, | |||
| const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |||
| size_type | __pos2, | |||
| size_type | __n2 | |||
| ) | [inline] |
Replace characters with value from another string.
| __pos1 | Index of first character to replace. | |
| __n1 | Number of characters to be replaced. | |
| __str | String to insert. | |
| __pos2 | Index of first character of str to use. | |
| __n2 | Number of characters from str to use. |
| std::out_of_range | If __pos1 > size() or __pos2 > str.size(). | |
| std::length_error | If new length exceeds max_size(). |
Definition at line 1143 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_check(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::_M_limit().
| __versa_string& __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace | ( | size_type | __pos, | |
| size_type | __n, | |||
| const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str | |||
| ) | [inline] |
Replace characters with value from another string.
| __pos | Index of first character to replace. | |
| __n | Number of characters to be replaced. | |
| __str | String to insert. |
| std::out_of_range | If __pos is beyond the end of this string. | |
| std::length_error | If new length exceeds max_size(). |
Definition at line 1120 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace().
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::reserve | ( | size_type | __res_arg = 0 |
) | [inline] |
Attempt to preallocate enough memory for specified number of characters.
| __res_arg | Number of characters required. |
| std::length_error | If __res_arg exceeds max_size(). |
The advantage of this function is that if optimal code is a necessity and the user can determine the string length that will be required, the user can reserve the memory in advance, and thus prevent a possible reallocation of memory and copying of string data.
Definition at line 484 of file vstring.h.
Referenced by __gnu_cxx::operator+().
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::resize | ( | size_type | __n | ) | [inline] |
Resizes the string to the specified number of characters.
| __n | Number of characters the string should contain. |
Definition at line 455 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::resize().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::resize().
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::resize | ( | size_type | __n, | |
| _CharT | __c | |||
| ) | [inline] |
Resizes the string to the specified number of characters.
| __n | Number of characters the string should contain. | |
| __c | Character to fill any new elements. |
Definition at line 49 of file vstring.tcc.
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind | ( | _CharT | __c, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a character.
| __c | Character to locate. | |
| __pos | Index of character to search back from (default end). |
Definition at line 333 of file vstring.tcc.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind | ( | const _CharT * | __s, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a C string.
| __s | C string to locate. | |
| __pos | Index of character to start search at (default end). |
| __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind | ( | const _CharT * | __s, | |
| size_type | __pos, | |||
| size_type | __n | |||
| ) | const [inline] |
Find last position of a C substring.
| __s | C string to locate. | |
| __pos | Index of character to search back from. | |
| __n | Number of characters from s to search for. |
Definition at line 311 of file vstring.tcc.
References __gnu_parallel::min(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos, and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind | ( | const __versa_string< _CharT, _Traits, _Alloc, _Base > & | __str, | |
| size_type | __pos = npos | |||
| ) | const [inline] |
Find last position of a string.
| __str | String to locate. | |
| __pos | Index of character to search back from (default end). |
Definition at line 1547 of file vstring.h.
References __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::data(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size().
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind().
| size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::size | ( | ) | const [inline] |
Returns the number of characters in the string, not including any null-termination.
Definition at line 417 of file vstring.h.
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::append(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::compare(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::insert(), __gnu_cxx::operator+(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::replace(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind().
| __versa_string __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::substr | ( | size_type | __pos = 0, |
|
| size_type | __n = npos | |||
| ) | const [inline] |
Get a substring.
| __pos | Index of first character (default 0). | |
| __n | Number of characters in substring (default remainder). |
| std::out_of_range | If pos > size(). |
| void __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::swap | ( | __versa_string< _CharT, _Traits, _Alloc, _Base > && | __s | ) | [inline] |
Swap contents with another string.
| __s | String to swap with. |
Definition at line 1443 of file vstring.h.
Referenced by __gnu_cxx::swap().
const __versa_string< _CharT, _Traits, _Alloc, _Base >::size_type __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::npos [inline, static] |
Value returned by various member functions when they fail.
Definition at line 74 of file vstring.h.
Referenced by __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_not_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_first_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_not_of(), __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::find_last_of(), and __gnu_cxx::__versa_string< _CharT, _Traits, _Alloc, _Base >::rfind().
1.5.8