|
|
Whole document tree
Templatestd::basic_string::_Rep struct Reference
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members
std::basic_string< _CharT, _Traits, _Alloc >::_Rep Struct Template ReferenceList of all members.
template<typename _CharT, typename _Traits, typename _Alloc>
struct std::basic_string< _CharT, _Traits, _Alloc >::_Rep
Member Typedef Documentation
template<typename _CharT, typename _Traits, typename _Alloc> |
typedef _Alloc::template rebind<char>::other std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_Raw_bytes_alloc
|
|
Member Function Documentation
template<typename _CharT, typename _Traits, typename _Alloc> |
_CharT * std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_clone |
( |
const _Alloc & |
, |
|
|
size_type |
__res = 0 |
|
) |
|
|
|
Definition at line 390 of file basic_string.tcc.
References __throw_exception_again, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_destroy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_length, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refdata(), and std::basic_string< _CharT, _Traits, _Alloc >::size_type.
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_grab(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
void std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_destroy |
( |
const _Alloc & |
|
) |
throw () |
|
template<typename _CharT, typename _Traits, typename _Alloc> |
void std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_dispose |
( |
const _Alloc & |
__a |
) |
[inline] |
|
|
Definition at line 177 of file basic_string.h.
References std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_destroy(), and std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_references.
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< char >::~basic_string(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_grab |
( |
const _Alloc & |
__alloc1, |
|
|
const _Alloc & |
__alloc2 |
|
) |
[inline] |
|
|
Definition at line 168 of file basic_string.h.
References std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_clone(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_leaked(), and std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refcopy().
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::assign(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
bool std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_leaked |
( |
|
) |
const [inline] |
|
template<typename _CharT, typename _Traits, typename _Alloc> |
bool std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared |
( |
|
) |
const [inline] |
|
|
Definition at line 148 of file basic_string.h.
References std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_references.
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_leak_hard(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), and std::basic_string< _CharT, _Traits, _Alloc >::reserve(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refcopy |
( |
|
) |
throw () [inline] |
|
|
Definition at line 187 of file basic_string.h.
References std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refdata(), and std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_references.
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_grab(), and std::basic_string< _CharT, _Traits, _Alloc >::_S_construct(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
_CharT* std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refdata |
( |
|
) |
throw () [inline] |
|
|
Definition at line 160 of file basic_string.h.
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_clone(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refcopy(), std::basic_string< _CharT, _Traits, _Alloc >::_S_construct(), and std::basic_string< _CharT, _Traits, _Alloc >::_Rep::operator[](). |
template<typename _CharT, typename _Traits, typename _Alloc> |
void std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_leaked |
( |
|
) |
[inline] |
|
template<typename _CharT, typename _Traits, typename _Alloc> |
void std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_sharable |
( |
|
) |
[inline] |
|
|
Definition at line 156 of file basic_string.h.
References std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_references.
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_S_create(), and std::basic_string< _CharT, _Traits, _Alloc >::swap(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
basic_string< _CharT, _Traits, _Alloc >::_Rep * std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_S_create |
( |
size_t |
, |
|
|
const _Alloc & |
|
|
) |
[static] |
|
|
Definition at line 362 of file basic_string.tcc.
References std::__throw_length_error(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_capacity, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_length, std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_sharable(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_Raw_bytes_alloc, and std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_S_max_size. |
template<typename _CharT, typename _Traits, typename _Alloc> |
bool std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_S_excess_slop |
( |
size_t |
, |
|
|
size_t |
|
|
) |
[inline, static] |
|
template<typename _CharT, typename _Traits, typename _Alloc> |
_CharT& std::basic_string< _CharT, _Traits, _Alloc >::_Rep::operator[] |
( |
size_t |
__s |
) |
throw () [inline] |
|
Member Data Documentation
template<typename _CharT, typename _Traits, typename _Alloc> |
size_type std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_capacity
|
|
template<typename _CharT, typename _Traits, typename _Alloc> |
size_type std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_length
|
|
|
Definition at line 139 of file basic_string.h.
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_clone(), std::basic_string< _CharT, _Traits, _Alloc >::_M_mutate(), std::basic_string< _CharT, _Traits, _Alloc >::_S_construct(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_S_create(), std::basic_string< char >::length(), and std::basic_string< char >::size(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
_Atomic_word std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_references
|
|
|
Definition at line 141 of file basic_string.h.
Referenced by std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_dispose(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_leaked(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_is_shared(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_refcopy(), std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_leaked(), and std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_M_set_sharable(). |
template<typename _CharT, typename _Traits, typename _Alloc> |
const size_type std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_S_max_size [static]
|
|
template<typename _CharT, typename _Traits, typename _Alloc> |
const _CharT std::basic_string< _CharT, _Traits, _Alloc >::_Rep::_S_terminal [static]
|
|
The documentation for this struct was generated from the following files:
Generated on Mon Apr 8 03:18:54 2002 for libstdc++-v3 Source by
1.2.15
|