#include <string>
Public Types | |
typedef _Traits | traits_type |
typedef _Traits::char_type | value_type |
typedef _Alloc | allocator_type |
typedef _Alloc::size_type | size_type |
typedef _Alloc::difference_type | difference_type |
typedef _Alloc::reference | reference |
typedef _Alloc::const_reference | const_reference |
typedef _Alloc::pointer | pointer |
typedef _Alloc::const_pointer | const_pointer |
typedef __gnu_cxx::__normal_iterator< pointer, basic_string > | iterator |
typedef __gnu_cxx::__normal_iterator< const_pointer, basic_string > | const_iterator |
typedef std::reverse_iterator< const_iterator > | const_reverse_iterator |
typedef std::reverse_iterator< iterator > | reverse_iterator |
Public Member Functions | |
basic_string () | |
Default constructor creates an empty string. | |
basic_string (const _Alloc &__a) | |
Construct an empty string using allocator a. | |
basic_string (const basic_string &__str) | |
Construct string with copy of value of str. | |
basic_string (const basic_string &__str, size_type __pos, size_type __n=npos) | |
Construct string as copy of a substring. | |
basic_string (const basic_string &__str, size_type __pos, size_type __n, const _Alloc &__a) | |
Construct string as copy of a substring. | |
basic_string (const _CharT *__s, size_type __n, const _Alloc &__a=_Alloc()) | |
Construct string initialized by a character array. | |
basic_string (const _CharT *__s, const _Alloc &__a=_Alloc()) | |
Construct string as copy of a C string. | |
basic_string (size_type __n, _CharT __c, const _Alloc &__a=_Alloc()) | |
Construct string as multiple characters. | |
template<class _InputIterator> | basic_string (_InputIterator __beg, _InputIterator __end, const _Alloc &__a=_Alloc()) |
Construct string as copy of a range. | |
~basic_string () | |
Destroy the string instance. | |
basic_string & | operator= (const basic_string &__str) |
Assign the value of str to this string. | |
basic_string & | operator= (const _CharT *__s) |
Copy contents of s into this string. | |
basic_string & | operator= (_CharT __c) |
Set value to string of length 1. | |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
reverse_iterator | rbegin () |
const_reverse_iterator | rbegin () const |
reverse_iterator | rend () |
const_reverse_iterator | rend () const |
size_type | size () const |
size_type | length () const |
size_type | max_size () const |
Returns the size() of the largest possible string. | |
void | resize (size_type __n, _CharT __c) |
Resizes the string to the specified number of characters. | |
void | resize (size_type __n) |
Resizes the string to the specified number of characters. | |
size_type | capacity () const |
void | reserve (size_type __res_arg=0) |
Attempt to preallocate enough memory for specified number of characters. | |
void | clear () |
bool | empty () const |
const_reference | operator[] (size_type __pos) const |
Subscript access to the data contained in the string. | |
reference | operator[] (size_type __pos) |
Subscript access to the data contained in the string. | |
const_reference | at (size_type __n) const |
Provides access to the data contained in the string. | |
reference | at (size_type __n) |
Provides access to the data contained in the string. | |
basic_string & | operator+= (const basic_string &__str) |
Append a string to this string. | |
basic_string & | operator+= (const _CharT *__s) |
Append a C string. | |
basic_string & | operator+= (_CharT __c) |
Append a character. | |
basic_string & | append (const basic_string &__str) |
Append a string to this string. | |
basic_string & | append (const basic_string &__str, size_type __pos, size_type __n) |
Append a substring. | |
basic_string & | append (const _CharT *__s, size_type __n) |
Append a C substring. | |
basic_string & | append (const _CharT *__s) |
Append a C string. | |
basic_string & | append (size_type __n, _CharT __c) |
Append multiple characters. | |
template<class _InputIterator> basic_string & | append (_InputIterator __first, _InputIterator __last) |
Append a range of characters. | |
void | push_back (_CharT __c) |
Append a single character. | |
basic_string & | assign (const basic_string &__str) |
Set value to contents of another string. | |
basic_string & | assign (const basic_string &__str, size_type __pos, size_type __n) |
Set value to a substring of a string. | |
basic_string & | assign (const _CharT *__s, size_type __n) |
Set value to a C substring. | |
basic_string & | assign (const _CharT *__s) |
Set value to contents of a C string. | |
basic_string & | assign (size_type __n, _CharT __c) |
Set value to multiple characters. | |
template<class _InputIterator> basic_string & | assign (_InputIterator __first, _InputIterator __last) |
Set value to a range of characters. | |
void | insert (iterator __p, size_type __n, _CharT __c) |
Insert multiple characters. | |
template<class _InputIterator> void | insert (iterator __p, _InputIterator __beg, _InputIterator __end) |
Insert a range of characters. | |
basic_string & | insert (size_type __pos1, const basic_string &__str) |
Insert value of a string. | |
basic_string & | insert (size_type __pos1, const basic_string &__str, size_type __pos2, size_type __n) |
Insert a substring. | |
basic_string & | insert (size_type __pos, const _CharT *__s, size_type __n) |
Insert a C substring. | |
basic_string & | insert (size_type __pos, const _CharT *__s) |
Insert a C string. | |
basic_string & | insert (size_type __pos, size_type __n, _CharT __c) |
Insert multiple characters. | |
iterator | insert (iterator __p, _CharT __c) |
Insert one character. | |
basic_string & | erase (size_type __pos=0, size_type __n=npos) |
Remove characters. | |
iterator | erase (iterator __position) |
Remove one character. | |
iterator | erase (iterator __first, iterator __last) |
Remove a range of characters. | |
basic_string & | replace (size_type __pos, size_type __n, const basic_string &__str) |
Replace characters with value from another string. | |
basic_string & | replace (size_type __pos1, size_type __n1, const basic_string &__str, size_type __pos2, size_type __n2) |
Replace characters with value from another string. | |
basic_string & | replace (size_type __pos, size_type __n1, const _CharT *__s, size_type __n2) |
Replace characters with value of a C substring. | |
basic_string & | replace (size_type __pos, size_type __n1, const _CharT *__s) |
Replace characters with value of a C string. | |
basic_string & | replace (size_type __pos, size_type __n1, size_type __n2, _CharT __c) |
Replace characters with multiple characters. | |
basic_string & | replace (iterator __i1, iterator __i2, const basic_string &__str) |
Replace range of characters with string. | |
basic_string & | replace (iterator __i1, iterator __i2, const _CharT *__s, size_type __n) |
Replace range of characters with C substring. | |
basic_string & | replace (iterator __i1, iterator __i2, const _CharT *__s) |
Replace range of characters with C string. | |
basic_string & | replace (iterator __i1, iterator __i2, size_type __n, _CharT __c) |
Replace range of characters with multiple characters. | |
template<class _InputIterator> basic_string & | replace (iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2) |
Replace range of characters with range. | |
basic_string & | replace (iterator __i1, iterator __i2, _CharT *__k1, _CharT *__k2) |
basic_string & | replace (iterator __i1, iterator __i2, const _CharT *__k1, const _CharT *__k2) |
basic_string & | replace (iterator __i1, iterator __i2, iterator __k1, iterator __k2) |
basic_string & | replace (iterator __i1, iterator __i2, const_iterator __k1, const_iterator __k2) |
size_type | copy (_CharT *__s, size_type __n, size_type __pos=0) const |
Copy substring into C string. | |
void | swap (basic_string &__s) |
Swap contents with another string. | |
const _CharT * | c_str () const |
Return const pointer to null-terminated contents. | |
const _CharT * | data () const |
Return const pointer to contents. | |
allocator_type | get_allocator () const |
Return copy of allocator used to construct this string. | |
size_type | find (const _CharT *__s, size_type __pos, size_type __n) const |
Find position of a C substring. | |
size_type | find (const basic_string &__str, size_type __pos=0) const |
Find position of a string. | |
size_type | find (const _CharT *__s, size_type __pos=0) const |
Find position of a C string. | |
size_type | find (_CharT __c, size_type __pos=0) const |
Find position of a character. | |
size_type | rfind (const basic_string &__str, size_type __pos=npos) const |
Find last position of a string. | |
size_type | rfind (const _CharT *__s, size_type __pos, size_type __n) const |
Find last position of a C substring. | |
size_type | rfind (const _CharT *__s, size_type __pos=npos) const |
Find last position of a C string. | |
size_type | rfind (_CharT __c, size_type __pos=npos) const |
Find last position of a character. | |
size_type | find_first_of (const basic_string &__str, size_type __pos=0) const |
Find position of a character of string. | |
size_type | find_first_of (const _CharT *__s, size_type __pos, size_type __n) const |
Find position of a character of C substring. | |
size_type | find_first_of (const _CharT *__s, size_type __pos=0) const |
Find position of a character of C string. | |
size_type | find_first_of (_CharT __c, size_type __pos=0) const |
Find position of a character. | |
size_type | find_last_of (const basic_string &__str, size_type __pos=npos) const |
Find last position of a character of string. | |
size_type | find_last_of (const _CharT *__s, size_type __pos, size_type __n) const |
Find last position of a character of C substring. | |
size_type | find_last_of (const _CharT *__s, size_type __pos=npos) const |
Find last position of a character of C string. | |
size_type | find_last_of (_CharT __c, size_type __pos=npos) const |
Find last position of a character. | |
size_type | find_first_not_of (const basic_string &__str, size_type __pos=0) const |
Find position of a character not in string. | |
size_type | find_first_not_of (const _CharT *__s, size_type __pos, size_type __n) const |
Find position of a character not in C substring. | |
size_type | find_first_not_of (const _CharT *__s, size_type __pos=0) const |
Find position of a character not in C string. | |
size_type | find_first_not_of (_CharT __c, size_type __pos=0) const |
Find position of a different character. | |
size_type | find_last_not_of (const basic_string &__str, size_type __pos=npos) const |
Find last position of a character not in string. | |
size_type | find_last_not_of (const _CharT *__s, size_type __pos, size_type __n) const |
Find last position of a character not in C substring. | |
size_type | find_last_not_of (const _CharT *__s, size_type __pos=npos) const |
Find position of a character not in C string. | |
size_type | find_last_not_of (_CharT __c, size_type __pos=npos) const |
Find last position of a different character. | |
basic_string | substr (size_type __pos=0, size_type __n=npos) const |
Get a substring. | |
int | compare (const basic_string &__str) const |
Compare to a string. | |
int | compare (size_type __pos, size_type __n, const basic_string &__str) const |
Compare substring to a string. | |
int | compare (size_type __pos1, size_type __n1, const basic_string &__str, size_type __pos2, size_type __n2) const |
Compare substring to a substring. | |
int | compare (const _CharT *__s) const |
Compare to a C string. | |
int | compare (size_type __pos, size_type __n1, const _CharT *__s) const |
Compare substring to a C string. | |
int | compare (size_type __pos, size_type __n1, const _CharT *__s, size_type __n2) const |
Compare substring against a character array. | |
Static Public Attributes | |
const size_type | npos = static_cast<size_type>(-1) |
Private Member Functions | |
_CharT * | _M_data () const |
_CharT * | _M_data (_CharT *__p) |
_Rep * | _M_rep () const |
iterator | _M_ibegin () const |
iterator | _M_iend () const |
void | _M_leak () |
size_type | _M_check (size_type __pos, const char *__s) const |
size_type | _M_limit (size_type __pos, size_type __off) const |
void | _M_mutate (size_type __pos, size_type __len1, size_type __len2) |
void | _M_leak_hard () |
template<class _Integer> basic_string & | _M_replace_dispatch (iterator __i1, iterator __i2, _Integer __n, _Integer __val, __true_type) |
template<class _InputIterator> basic_string & | _M_replace_dispatch (iterator __i1, iterator __i2, _InputIterator __k1, _InputIterator __k2, __false_type) |
basic_string & | _M_replace_aux (size_type __pos1, size_type __n1, size_type __n2, _CharT __c) |
basic_string & | _M_replace_safe (size_type __pos1, size_type __n1, const _CharT *__s, size_type __n2) |
Static Private Member Functions | |
template<class _Iterator> void | _S_copy_chars (_CharT *__p, _Iterator __k1, _Iterator __k2) |
void | _S_copy_chars (_CharT *__p, iterator __k1, iterator __k2) |
void | _S_copy_chars (_CharT *__p, const_iterator __k1, const_iterator __k2) |
void | _S_copy_chars (_CharT *__p, _CharT *__k1, _CharT *__k2) |
void | _S_copy_chars (_CharT *__p, const _CharT *__k1, const _CharT *__k2) |
_Rep & | _S_empty_rep () |
template<class _InIterator> _CharT * | _S_construct_aux (_InIterator __beg, _InIterator __end, const _Alloc &__a, __false_type) |
template<class _InIterator> _CharT * | _S_construct_aux (_InIterator __beg, _InIterator __end, const _Alloc &__a, __true_type) |
template<class _InIterator> _CharT * | _S_construct (_InIterator __beg, _InIterator __end, const _Alloc &__a) |
template<class _InIterator> _CharT * | _S_construct (_InIterator __beg, _InIterator __end, const _Alloc &__a, input_iterator_tag) |
template<class _FwdIterator> _CharT * | _S_construct (_FwdIterator __beg, _FwdIterator __end, const _Alloc &__a, forward_iterator_tag) |
_CharT * | _S_construct (size_type __req, _CharT __c, const _Alloc &__a) |
Private Attributes | |
_Alloc_hider | _M_dataplus |
Meets the requirements of a container, a reversible container, and a sequence. Of the optional sequence requirements, only push_back
, at
, and array access are supported.
Definition at line 110 of file basic_string.h.
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 116 of file basic_string.h. Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve(). |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 125 of file basic_string.h. Referenced by std::basic_string< char >::begin(), and std::basic_string< char >::end(). |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 122 of file basic_string.h. |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 120 of file basic_string.h. |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 126 of file basic_string.h. Referenced by __gnu_cxx::rope< _CharT, _Alloc >::rbegin(), std::basic_string< char >::rbegin(), and std::basic_string< char >::rend(). |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 118 of file basic_string.h. |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 123 of file basic_string.h. Referenced by std::basic_string< char >::_M_ibegin(), std::basic_string< char >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_dispatch(), std::basic_string< char >::begin(), and std::basic_string< char >::end(). |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 121 of file basic_string.h. |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 119 of file basic_string.h. |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 127 of file basic_string.h. Referenced by std::basic_string< char >::rbegin(), and std::basic_string< char >::rend(). |
|
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 114 of file basic_string.h. |
|
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 115 of file basic_string.h. |
|
Default constructor creates an empty string.
Definition at line 1986 of file basic_string.h. Referenced by std::basic_string< char >::substr(). |
|
Construct an empty string using allocator a.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 192 of file basic_string.tcc. |
|
Construct string with copy of value of str.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 184 of file basic_string.tcc. |
|
Construct string as copy of a substring.
Definition at line 198 of file basic_string.tcc. |
|
Construct string as copy of a substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 208 of file basic_string.tcc. |
|
Construct string initialized by a character array.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 220 of file basic_string.tcc. |
|
Construct string as copy of a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 227 of file basic_string.tcc. |
|
Construct string as multiple characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 234 of file basic_string.tcc. |
|
Construct string as copy of a range.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 242 of file basic_string.tcc. |
|
Destroy the string instance.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 417 of file basic_string.h. |
|
|
Definition at line 264 of file basic_string.h. |
|
|
|
|
Definition at line 280 of file basic_string.h. Referenced by std::basic_string< char >::at(), std::basic_string< char >::begin(), std::basic_string< char >::end(), and std::basic_string< char >::operator[](). |
|
|
|
|
|
|
|
Definition at line 1345 of file basic_string.h. Referenced by std::basic_string< char >::replace(). |
|
|
|
|
|
Definition at line 1400 of file basic_string.h. Referenced by std::basic_string< char >::_S_construct_aux(). |
|
Definition at line 1393 of file basic_string.h. |
|
Definition at line 1384 of file basic_string.h. Referenced by std::basic_string< char >::_S_construct(). |
|
Definition at line 325 of file basic_string.h. |
|
Definition at line 321 of file basic_string.h. |
|
Definition at line 317 of file basic_string.h. |
|
Definition at line 313 of file basic_string.h. |
|
Definition at line 306 of file basic_string.h. Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_S_construct(), and std::basic_string< char >::_S_copy_chars(). |
|
Definition at line 335 of file basic_string.h. Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_leak_hard(), and std::basic_string< _CharT, _Traits, _Alloc >::_S_construct(). |
|
Append a range of characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 777 of file basic_string.h. |
|
Append multiple characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 764 of file basic_string.h. |
|
Append a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 749 of file basic_string.h. |
|
Append a C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 636 of file basic_string.tcc. References __glibcxx_requires_string_len, std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_safe(), std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type. |
|
|
Append a string to this string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 603 of file basic_string.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_safe(), std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type. Referenced by std::basic_string< char >::append(), std::getline(), std::operator+(), std::basic_string< char >::operator+=(), std::operator>>(), and std::basic_string< _CharT, _Traits, _Alloc >::resize(). |
|
Set value to a range of characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 866 of file basic_string.h. |
|
Set value to multiple characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 853 of file basic_string.h. |
|
Set value to contents of a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 837 of file basic_string.h. |
|
Set value to a C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 265 of file basic_string.tcc. References __glibcxx_requires_string_len, __N, std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep_base::_M_length, std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_safe(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_sharable(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type. |
|
Set value to a substring of a string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 809 of file basic_string.h. |
|
Set value to contents of another string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 249 of file basic_string.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_dispose(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_grab(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::allocator_type, and std::basic_string< _CharT, _Traits, _Alloc >::get_allocator(). Referenced by std::basic_string< char >::assign(), and std::basic_string< char >::operator=(). |
|
Provides access to the data contained in the string.
Definition at line 678 of file basic_string.h. |
|
Provides access to the data contained in the string.
Definition at line 659 of file basic_string.h. |
|
Returns a read-only (constant) iterator that points to the first character in the string. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 473 of file basic_string.h. |
|
Returns a read/write iterator that points to the first character in the string. Unshares the string. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 462 of file basic_string.h. |
|
Return const pointer to null-terminated contents. This is a handle to internal data. Do not modify or dire things may happen. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1456 of file basic_string.h. Referenced by std::money_get< _CharT, _InIter >::do_get(), and std::num_get< _CharT, _InIter >::do_get(). |
|
Returns the total number of characters that the string can hold before needing to allocate more memory. Definition at line 578 of file basic_string.h. Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::append(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve(). |
|
Erases the string, making it empty. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 604 of file basic_string.h. |
|
Compare substring against a character array.
NB: s must have at least n2 characters, '' has no special meaning. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 926 of file basic_string.tcc. References __glibcxx_requires_string_len, and std::min(). |
|
Compare substring to a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 910 of file basic_string.tcc. References __glibcxx_requires_string, and std::min(). |
|
Compare to a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 895 of file basic_string.tcc. References __glibcxx_requires_string, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::min(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Compare substring to a substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 877 of file basic_string.tcc. 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(), std::basic_string< _CharT, _Traits, _Alloc >::data(), and std::min(). |
|
Compare substring to a string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 862 of file basic_string.tcc. 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(), std::basic_string< _CharT, _Traits, _Alloc >::data(), std::min(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Compare to a string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1860 of file basic_string.h. Referenced by std::operator!=(), std::operator<(), std::operator<=(), std::operator==(), std::operator>(), and std::operator>=(). |
|
Copy substring into C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 678 of file basic_string.tcc. References __glibcxx_requires_string_len, 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(). Referenced by std::__moneypunct_cache< _CharT, _Intl >::_M_cache(), and std::__numpunct_cache< _CharT >::_M_cache(). |
|
Return const pointer to contents. This is a handle to internal data. Do not modify or dire things may happen. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1465 of file basic_string.h. Referenced by std::basic_string< _CharT, _Traits, _Alloc >::compare(), std::basic_string< char >::compare(), std::money_get< _CharT, _InIter >::do_get(), std::basic_string< char >::find(), std::basic_string< char >::find_first_not_of(), std::basic_string< char >::find_first_of(), std::basic_string< char >::find_last_not_of(), std::basic_string< char >::find_last_of(), std::locale::operator()(), and std::basic_string< char >::rfind(). |
|
Returns true if the string is empty. Equivalent to *this == "". Definition at line 610 of file basic_string.h. Referenced by std::money_get< _CharT, _InIter >::_M_extract(). |
|
Returns a read-only (constant) iterator that points one past the last character in the string. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 492 of file basic_string.h. |
|
Returns a read/write iterator that points one past the last character in the string. Unshares the string. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 481 of file basic_string.h. |
|
Remove a range of characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1072 of file basic_string.h. |
|
Remove one character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1052 of file basic_string.h. |
|
Remove characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1039 of file basic_string.h. Referenced by std::money_get< _CharT, _InIter >::_M_extract(), std::getline(), std::operator>>(), and std::basic_string< _CharT, _Traits, _Alloc >::resize(). |
|
Find position of a character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 706 of file basic_string.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find position of a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1512 of file basic_string.h. |
|
Find position of a string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1498 of file basic_string.h. |
|
Find position of a C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 692 of file basic_string.tcc. References __glibcxx_requires_string_len, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by std::basic_string< char >::find(), and std::basic_string< char >::find_first_of(). |
|
Find position of a different character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 810 of file basic_string.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find position of a character not in C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1751 of file basic_string.h. |
|
Find position of a character not in C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 798 of file basic_string.tcc. References __glibcxx_requires_string_len, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find position of a character not in string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1722 of file basic_string.h. Referenced by std::money_get< _CharT, _InIter >::_M_extract(), and std::basic_string< char >::find_first_not_of(). |
|
Find position of a character.
Note: equivalent to find(c, pos). Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1647 of file basic_string.h. |
|
Find position of a character of C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1628 of file basic_string.h. |
|
Find position of a character of C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 762 of file basic_string.tcc. References __glibcxx_requires_string_len, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find position of a character of string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1600 of file basic_string.h. Referenced by std::basic_string< char >::find_first_of(). |
|
Find last position of a different character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 842 of file basic_string.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find position of a character not in C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1810 of file basic_string.h. |
|
Find last position of a character not in C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 821 of file basic_string.tcc. References __glibcxx_requires_string_len, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find last position of a character not in string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1781 of file basic_string.h. Referenced by std::basic_string< char >::find_last_not_of(). |
|
Find last position of a character.
Note: equivalent to rfind(c, pos). Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1708 of file basic_string.h. |
|
Find last position of a character of C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1689 of file basic_string.h. |
|
Find last position of a character of C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 777 of file basic_string.tcc. References __glibcxx_requires_string_len, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find last position of a character of string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1661 of file basic_string.h. Referenced by std::basic_string< char >::find_last_of(). |
|
Return copy of allocator used to construct this string.
Definition at line 1471 of file basic_string.h. Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), and std::basic_string< _CharT, _Traits, _Alloc >::swap(). |
|
Insert one character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1015 of file basic_string.h. |
|
Insert multiple characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 998 of file basic_string.h. |
|
Insert a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 975 of file basic_string.h. |
|
Insert a C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 291 of file basic_string.tcc. References __glibcxx_requires_string_len, __N, std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_safe(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type. |
|
Insert a substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 934 of file basic_string.h. |
|
Insert value of a string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 912 of file basic_string.h. |
|
Insert a range of characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 897 of file basic_string.h. |
|
Insert multiple characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 882 of file basic_string.h. Referenced by std::money_get< _CharT, _InIter >::_M_extract(), and std::basic_string< char >::insert(). |
|
Returns the number of characters in the string, not including any null-termination. Definition at line 541 of file basic_string.h. Referenced by std::locale::operator()(). |
|
Returns the size() of the largest possible string.
Definition at line 545 of file basic_string.h. Referenced by std::basic_string< char >::_M_replace_aux(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_dispatch(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), std::getline(), std::basic_string< _CharT, _Traits, _Alloc >::insert(), std::operator>>(), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), and std::basic_string< _CharT, _Traits, _Alloc >::resize(). |
|
Append a character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 709 of file basic_string.h. |
|
Append a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 701 of file basic_string.h. |
|
Append a string to this string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 693 of file basic_string.h. |
|
Set value to string of length 1.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 450 of file basic_string.h. |
|
Copy contents of s into this string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 436 of file basic_string.h. |
|
Assign the value of str to this string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 425 of file basic_string.h. |
|
Subscript access to the data contained in the string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 641 of file basic_string.h. |
|
Subscript access to the data contained in the string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 624 of file basic_string.h. |
|
Append a single character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 785 of file basic_string.h. |
|
Returns a read-only (constant) reverse iterator that points to the last character in the string. Iteration is done in reverse element order. Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 510 of file basic_string.h. |
|
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 in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 501 of file basic_string.h. |
|
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 in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 528 of file basic_string.h. |
|
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 in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 519 of file basic_string.h. |
|
Definition at line 1332 of file basic_string.h. |
|
Definition at line 1322 of file basic_string.h. |
|
Definition at line 1311 of file basic_string.h. |
|
Definition at line 1301 of file basic_string.h. |
|
Replace range of characters with range.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1288 of file basic_string.h. |
|
Replace range of characters with multiple characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1265 of file basic_string.h. |
|
Replace range of characters with C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1244 of file basic_string.h. |
|
Replace range of characters with C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1223 of file basic_string.h. |
|
Replace range of characters with string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1205 of file basic_string.h. |
|
Replace characters with multiple characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1187 of file basic_string.h. |
|
Replace characters with value of a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1164 of file basic_string.h. |
|
Replace characters with value of a C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 326 of file basic_string.tcc. References __glibcxx_requires_string_len, __N, std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_M_check(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_M_limit(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_safe(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Replace characters with value from another string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1121 of file basic_string.h. |
|
Replace characters with value from another string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1099 of file basic_string.h. Referenced by std::basic_string< char >::append(), std::basic_string< char >::assign(), std::basic_string< char >::insert(), and std::basic_string< char >::replace(). |
|
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. Definition at line 425 of file basic_string.tcc. References __N, std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_clone(), std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_dispose(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::allocator_type, std::basic_string< _CharT, _Traits, _Alloc >::capacity(), std::basic_string< _CharT, _Traits, _Alloc >::get_allocator(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by std::money_get< _CharT, _InIter >::_M_extract(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::num_get< _CharT, _InIter >::do_get(), and std::operator+(). |
|
Resizes the string to the specified number of characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 571 of file basic_string.h. |
|
Resizes the string to the specified number of characters.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 573 of file basic_string.tcc. References __N, std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< _CharT, _Traits, _Alloc >::erase(), std::basic_string< _CharT, _Traits, _Alloc >::max_size(), and std::basic_string< _CharT, _Traits, _Alloc >::size(). Referenced by std::basic_string< char >::resize(). |
|
Find last position of a character.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 745 of file basic_string.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::npos, and std::basic_string< _CharT, _Traits, _Alloc >::size(). |
|
Find last position of a C string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1570 of file basic_string.h. |
|
Find last position of a C substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 724 of file basic_string.tcc. References __glibcxx_requires_string_len, std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::min(), std::basic_string< _CharT, _Traits, _Alloc >::npos, std::basic_string< _CharT, _Traits, _Alloc >::size(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type. |
|
Find last position of a string.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1542 of file basic_string.h. Referenced by std::basic_string< char >::find_last_of(), and std::basic_string< char >::rfind(). |
|
Returns the number of characters in the string, not including any null-termination. Definition at line 536 of file basic_string.h. Referenced by std::__verify_grouping(), std::__moneypunct_cache< _CharT, _Intl >::_M_cache(), std::__numpunct_cache< _CharT >::_M_cache(), std::basic_string< char >::_M_check(), std::money_get< _CharT, _InIter >::_M_extract(), std::basic_string< char >::_M_limit(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< char >::_M_replace_aux(), std::basic_string< _CharT, _Traits, _Alloc >::_M_replace_dispatch(), std::basic_string< _CharT, _Traits, _Alloc >::append(), std::basic_string< _CharT, _Traits, _Alloc >::assign(), std::basic_string< char >::at(), std::basic_string< _CharT, _Traits, _Alloc >::compare(), std::basic_string< char >::compare(), std::money_get< _CharT, _InIter >::do_get(), std::basic_string< char >::empty(), std::basic_string< _CharT, _Traits, _Alloc >::find(), std::basic_string< char >::find(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of(), std::basic_string< char >::find_first_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_of(), std::basic_string< char >::find_first_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of(), std::basic_string< char >::find_last_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_of(), std::basic_string< char >::find_last_of(), std::basic_string< _CharT, _Traits, _Alloc >::insert(), std::basic_string< char >::insert(), std::operator+(), std::basic_string< char >::operator[](), std::basic_string< _CharT, _Traits, _Alloc >::replace(), std::basic_string< char >::replace(), std::basic_string< _CharT, _Traits, _Alloc >::reserve(), std::basic_string< _CharT, _Traits, _Alloc >::resize(), std::basic_string< _CharT, _Traits, _Alloc >::rfind(), and std::basic_string< char >::rfind(). |
|
Get a substring.
Reimplemented in __gnu_debug::basic_string< _CharT, _Traits, _Allocator >. Definition at line 1842 of file basic_string.h. |
|
Swap contents with another string.
Definition at line 442 of file basic_string.tcc. References std::basic_string< _CharT, _Traits, _Alloc >::_M_data(), std::basic_string< _CharT, _Traits, _Alloc >::_M_ibegin(), std::basic_string< _CharT, _Traits, _Alloc >::_M_iend(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_leaked(), std::basic_string< _CharT, _Traits, _Alloc >::_M_rep(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_sharable(), and std::basic_string< _CharT, _Traits, _Alloc >::get_allocator(). Referenced by std::money_get< _CharT, _InIter >::_M_extract(), and std::swap(). |
|
Definition at line 257 of file basic_string.h. |
|
Value returned by various member functions when they fail. Definition at line 70 of file basic_string.tcc. Referenced by std::basic_string< _CharT, _Traits, _Alloc >::find(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_first_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_not_of(), std::basic_string< _CharT, _Traits, _Alloc >::find_last_of(), and std::basic_string< _CharT, _Traits, _Alloc >::rfind(). |