Definition at line 46 of file debug/string.
|
Construct an empty string using allocator a.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 77 of file debug/string. |
|
Construct string with copy of value of str.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 86 of file debug/string. |
|
Construct string as copy of a C string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 103 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::assign(). |
|
Construct string as copy of a range.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 113 of file debug/string. |
|
Destroy the string instance.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 118 of file debug/string. |
|
Detach all iterators, leaving them singular. Referenced by __gnu_debug::_Safe_sequence_base::~_Safe_sequence_base(). |
|
Detach all singular iterators.
Referenced by std::__debug::deque< _Tp, _Allocator >::erase(), and std::__debug::list< _Tp, _Allocator >::resize(). |
|
For use in _Safe_sequence. |
|
|
Invalidates all iterators |
|
Revalidates all attached singular iterators. This method may be used to validate iterators that were invalidated before (but for some reasion, such as an exception, need to become valid again). Referenced by std::__debug::deque< _Tp, _Allocator >::erase(). |
|
Swap this sequence with the given sequence. This operation also swaps ownership of the iterators, so that when the operation is complete all iterators that originally referenced one container now reference the other container. Referenced by std::__debug::vector< _Tp, _Allocator >::swap(), __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::swap(), std::__debug::set< _Key, _Compare, _Allocator >::swap(), std::__debug::multiset< _Key, _Compare, _Allocator >::swap(), std::__debug::multimap< _Key, _Tp, _Compare, _Allocator >::swap(), std::__debug::map< _Key, _Tp, _Compare, _Allocator >::swap(), __gnu_cxx::__debug::hash_set< _Value, _HashFcn, _EqualKey, _Alloc >::swap(), __gnu_cxx::__debug::hash_multiset< _Value, _HashFcn, _EqualKey, _Alloc >::swap(), __gnu_cxx::__debug::hash_multimap< _Value, _Tp, _HashFcn, _EqualKey, _Alloc >::swap(), and __gnu_cxx::__debug::hash_map< _Value, _Tp, _HashFcn, _EqualKey, _Alloc >::swap(). |
|
Transfers all iterators that reference this memory location to this sequence from whatever sequence they are attached to. |
|
Append multiple characters.
|
|
Append a C substring.
|
|
Append a substring.
|
|
Append a range of characters.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 306 of file debug/string. References __glibcxx_check_valid_range, __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::append(). |
|
Append a C string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 288 of file debug/string. References __glibcxx_check_string, __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::append(). |
|
Append a string to this string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 263 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::append(). |
|
Set value to multiple characters.
Definition at line 933 of file basic_string.h. |
|
Set value to a C substring.
|
|
Set value to a substring of a string.
Definition at line 889 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), and std::basic_string< _CharT, _Traits, _Alloc >::_M_limit(). |
|
Set value to a range of characters.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 367 of file debug/string. References __glibcxx_check_valid_range, __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::assign(). |
|
Set value to contents of a C string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 349 of file debug/string. References __glibcxx_check_string, __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::assign(). |
|
Set value to contents of another string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 324 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::assign(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::basic_string(). |
|
Provides access to the data contained in the string.
Definition at line 747 of file basic_string.h. References __N. |
|
Provides access to the data contained in the string.
Definition at line 728 of file basic_string.h. References __N. |
|
Returns a read-only (constant) iterator that points to the first character in the string. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 151 of file debug/string. References std::basic_string< _CharT, _Traits, _Allocator >::begin(). |
|
Returns a read/write iterator that points to the first character in the string. Unshares the string. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 147 of file debug/string. References std::basic_string< _CharT, _Traits, _Allocator >::begin(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::rend(). |
|
Return const pointer to null-terminated contents. This is a handle to internal data. Do not modify or dire things may happen. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 585 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::c_str(). |
|
Returns the total number of characters that the string can hold before needing to allocate more memory. Definition at line 641 of file basic_string.h. |
|
Erases the string, making it empty. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 198 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::clear(). |
|
Compare substring against a character array.
NB: s must have at least n2 characters, '' has no special meaning. |
|
Compare substring to a C string.
|
|
Compare substring to a substring.
|
|
Compare substring to a string.
|
|
Compare to a C string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 755 of file debug/string. References __glibcxx_check_string, and std::basic_string< _CharT, _Traits, _Allocator >::compare(). |
|
Compare to a string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 741 of file debug/string. References std::basic_string< _CharT, _Traits, _Allocator >::compare(). |
|
Copy substring into C string.
Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::copy(). |
|
Return const pointer to contents. This is a handle to internal data. Do not modify or dire things may happen. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 593 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::data(). |
|
Returns true if the string is empty. Equivalent to *this == "". Definition at line 675 of file basic_string.h. |
|
Returns a read-only (constant) iterator that points one past the last character in the string. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 159 of file debug/string. References std::basic_string< _CharT, _Traits, _Allocator >::end(). |
|
Returns a read/write iterator that points one past the last character in the string. Unshares the string. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 155 of file debug/string. References std::basic_string< _CharT, _Traits, _Allocator >::end(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::rbegin(). |
|
Remove a range of characters.
Definition at line 1156 of file basic_string.h. References _GLIBCXX_DEBUG_PEDASSERT. |
|
Remove one character.
Definition at line 1136 of file basic_string.h. References _GLIBCXX_DEBUG_PEDASSERT. |
|
Remove characters.
Definition at line 1120 of file basic_string.h. Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::erase(). |
|
Find position of a character.
|
|
Find position of a C string.
Definition at line 1581 of file basic_string.h. References __glibcxx_requires_string, and std::find(). |
|
Find position of a string.
Definition at line 1567 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::data(), std::find(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find position of a C substring.
|
|
Find position of a different character.
|
|
Find position of a character not in C string.
Definition at line 1820 of file basic_string.h. References __glibcxx_requires_string. |
|
Find position of a character not in C substring.
|
|
Find position of a character not in string.
Definition at line 1791 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::data(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::find_first_not_of(). |
|
Find position of a character.
Note: equivalent to find(c, pos). Definition at line 1716 of file basic_string.h. References std::find(). |
|
Find position of a character of C string.
Definition at line 1697 of file basic_string.h. References __glibcxx_requires_string, and std::find_first_of(). |
|
Find position of a character of C substring.
|
|
Find position of a character of string.
Definition at line 1669 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::data(), std::find_first_of(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find last position of a different character.
|
|
Find last position of a character not in C string.
Definition at line 1879 of file basic_string.h. References __glibcxx_requires_string. |
|
Find last position of a character not in C substring.
|
|
Find last position of a character not in string.
Definition at line 1850 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::data(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::find_last_not_of(). |
|
Find last position of a character.
Note: equivalent to rfind(c, pos). Definition at line 1777 of file basic_string.h. |
|
Find last position of a character of C string.
Definition at line 1758 of file basic_string.h. References __glibcxx_requires_string. |
|
Find last position of a character of C substring.
|
|
Find last position of a character of string.
Definition at line 1730 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::data(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::find_last_of(). |
|
Return copy of allocator used to construct this string.
Definition at line 1539 of file basic_string.h. |
|
Insert one character.
Definition at line 1096 of file basic_string.h. References _GLIBCXX_DEBUG_PEDASSERT. |
|
Insert multiple characters.
Definition at line 1079 of file basic_string.h. |
|
Insert a C string.
Definition at line 1056 of file basic_string.h. References __glibcxx_requires_string. |
|
Insert a C substring.
|
|
Insert a substring.
Definition at line 1015 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), and std::basic_string< _CharT, _Traits, _Alloc >::_M_limit(). |
|
Insert value of a string.
Definition at line 993 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Insert a range of characters.
Definition at line 978 of file basic_string.h. References std::replace(). |
|
Insert multiple characters.
Definition at line 962 of file basic_string.h. References std::replace(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::insert(). |
|
null-termination.
Definition at line 601 of file basic_string.h. |
|
Returns the size() of the largest possible string.
Definition at line 606 of file basic_string.h. |
|
Append a character.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 255 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(), and __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Append a C string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 246 of file debug/string. References __glibcxx_check_string, __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(), and __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Append a string to this string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 238 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::_M_base(), and __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Set value to string of length 1.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 138 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Copy contents of s into this string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 129 of file debug/string. References __glibcxx_check_string, and __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Assign the value of str to this string.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 121 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Subscript access to the data contained in the string.
Definition at line 707 of file basic_string.h. References _GLIBCXX_DEBUG_ASSERT, and _GLIBCXX_DEBUG_PEDASSERT. |
|
Subscript access to the data contained in the string.
Definition at line 690 of file basic_string.h. References _GLIBCXX_DEBUG_ASSERT. |
|
Append a single character.
Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 317 of file debug/string. References __gnu_debug::_Safe_sequence_base::_M_invalidate_all(), and std::basic_string< _CharT, _Traits, _Allocator >::push_back(). |
|
Returns a read-only (constant) reverse iterator that points to the last character in the string. Iteration is done in reverse element order. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 167 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::end(). |
|
Returns a read/write reverse iterator that points to the last character in the string. Iteration is done in reverse element order. Unshares the string. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 163 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::end(). |
|
Returns a read-only (constant) reverse iterator that points to one before the first character in the string. Iteration is done in reverse element order. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 175 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::begin(). |
|
Returns a read/write reverse iterator that points to one before the first character in the string. Iteration is done in reverse element order. Unshares the string. Reimplemented from std::basic_string< _CharT, _Traits, _Allocator >. Definition at line 171 of file debug/string. References __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::begin(). |
|
Replace range of characters with range.
Definition at line 1372 of file basic_string.h. References __glibcxx_requires_valid_range, and _GLIBCXX_DEBUG_PEDASSERT. |
|
Replace range of characters with multiple characters.
Definition at line 1349 of file basic_string.h. References _GLIBCXX_DEBUG_PEDASSERT. |
|
Replace range of characters with C string.
Definition at line 1328 of file basic_string.h. References __glibcxx_requires_string, and std::replace(). |
|
Replace range of characters with C substring.
Definition at line 1307 of file basic_string.h. References _GLIBCXX_DEBUG_PEDASSERT, and std::replace(). |
|
Replace range of characters with string.
Definition at line 1289 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::replace(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Replace characters with multiple characters.
Definition at line 1271 of file basic_string.h. |
|
Replace characters with value of a C string.
Definition at line 1248 of file basic_string.h. References __glibcxx_requires_string, and std::replace(). |
|
Replace characters with value of a C substring.
|
|
Replace characters with value from another string.
Definition at line 1205 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_M_limit(), and std::replace(). |
|
Replace characters with value from another string.
Definition at line 1183 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::replace(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Attempt to preallocate enough memory for specified number of characters.
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. |
|
Resizes the string to the specified number of characters.
Definition at line 633 of file basic_string.h. |
|
Resizes the string to the specified number of characters.
Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::resize(). |
|
Find last position of a character.
|
|
Find last position of a C string.
Definition at line 1639 of file basic_string.h. References __glibcxx_requires_string. |
|
Find last position of a C substring.
|
|
Find last position of a string.
Definition at line 1611 of file basic_string.h. References std::basic_string< _CharT, _Traits, _Alloc >::data(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::rfind(). |
|
null-termination.
Definition at line 595 of file basic_string.h. Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::operator[](). |
|
Get a substring.
Definition at line 1911 of file basic_string.h. Referenced by __gnu_debug::basic_string< _CharT, _Traits, _Allocator >::substr(). |
|
Swap contents with another string.
|
|
The list of constant iterators that reference this container.
Definition at line 171 of file safe_base.h. Referenced by __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_invalidate_single(), and __gnu_debug::_Safe_sequence< _Sequence >::_M_transfer_iter(). |
|
The list of mutable iterators that reference this container.
Definition at line 168 of file safe_base.h. Referenced by __gnu_debug::_Safe_sequence< _Sequence >::_M_invalidate_if(), __gnu_debug::_Safe_iterator< _Iterator, _Sequence >::_M_invalidate_single(), and __gnu_debug::_Safe_sequence< _Sequence >::_M_transfer_iter(). |
|
The container version number. This number may never be 0.
Definition at line 174 of file safe_base.h. Referenced by __gnu_debug::_Safe_sequence_base::_M_invalidate_all(). |
|
Value returned by various member functions when they fail.
Definition at line 272 of file basic_string.h. |