_String_base< _Tp, _Alloc > Class Template Reference#include <_string_base.h>
Detailed Descriptiontemplate<class _Tp, class _Alloc>
|
typedef _Alloc_traits<_Tp, _Alloc>::allocator_type _String_base< _Tp, _Alloc >::allocator_type |
Definition at line 53 of file _string_base.h.
typedef _STLP_alloc_proxy<_Tp*, _Tp, allocator_type> _String_base< _Tp, _Alloc >::_AllocProxy |
Definition at line 54 of file _string_base.h.
typedef size_t _String_base< _Tp, _Alloc >::size_type |
Definition at line 55 of file _string_base.h.
anonymous enum |
_String_base< _Tp, _Alloc >::_String_base | ( | const allocator_type & | __a | ) | [inline, protected] |
Definition at line 105 of file _string_base.h.
_String_base< _Tp, _Alloc >::_String_base | ( | const allocator_type & | __a, | |
size_t | __n | |||
) | [inline, protected] |
Definition at line 113 of file _string_base.h.
References _String_base< _Tp, _Alloc >::_DEFAULT_SIZE, _String_base< _Tp, _Alloc >::_M_allocate_block(), _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >::_M_data, _String_base< _Tp, _Alloc >::_M_end_of_storage, and _String_base< _Tp, _Alloc >::_M_finish.
_String_base< _Tp, _Alloc >::_String_base | ( | __move_source< _Self > | src | ) | [inline, protected] |
Definition at line 138 of file _string_base.h.
References _String_base< _Tp, _Alloc >::_M_end_of_storage, _String_base< _Tp, _Alloc >::_M_finish, _String_base< _Tp, _Alloc >::_M_start, and __move_source< _Tp >::get().
_String_base< _Tp, _Alloc >::~_String_base | ( | ) | [inline, protected] |
Definition at line 149 of file _string_base.h.
References _String_base< _Tp, _Alloc >::_M_deallocate_block().
_Tp const* _String_base< _Tp, _Alloc >::_M_Start | ( | ) | const [inline, protected] |
Definition at line 77 of file _string_base.h.
_Tp* _String_base< _Tp, _Alloc >::_M_Start | ( | ) | [inline, protected] |
Definition at line 78 of file _string_base.h.
_Tp const* _String_base< _Tp, _Alloc >::_M_Finish | ( | ) | const [inline, protected] |
_Tp* _String_base< _Tp, _Alloc >::_M_Finish | ( | ) | [inline, protected] |
void _String_base< _Tp, _Alloc >::_M_allocate_block | ( | size_t | __n = _DEFAULT_SIZE |
) | [protected] |
Definition at line 621 of file _string.c.
References _String_base< _Tp, _Alloc >::_DEFAULT_SIZE, _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >::_M_data, _String_base< _Tp, _Alloc >::_M_end_of_storage, _String_base< _Tp, _Alloc >::_M_finish, and _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >::allocate().
Referenced by _String_base< _Tp, _Alloc >::_String_base().
void _String_base< _Tp, _Alloc >::_M_deallocate_block | ( | ) | [inline, protected] |
Definition at line 89 of file _string_base.h.
References _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >::_M_data, and _String_base< _Tp, _Alloc >::_M_end_of_storage.
Referenced by _String_base< _Tp, _Alloc >::~_String_base().
size_t _String_base< _Tp, _Alloc >::max_size | ( | ) | const [inline, protected] |
Definition at line 99 of file _string_base.h.
References _String_base< _Tp, _Alloc >::_M_end_of_storage, and min().
void _String_base< _Tp, _Alloc >::_M_reset | ( | _Tp * | __start, | |
_Tp * | __finish, | |||
_Tp * | __end_of_storage | |||
) | [inline, protected] |
Definition at line 151 of file _string_base.h.
References _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >::_M_data, _String_base< _Tp, _Alloc >::_M_end_of_storage, and _String_base< _Tp, _Alloc >::_M_finish.
void _String_base< _Tp, _Alloc >::_M_destroy_back | ( | ) | [inline, protected] |
Definition at line 161 of file _string_base.h.
References _Destroy(), and _String_base< _Tp, _Alloc >::_M_finish.
void _String_base< _Tp, _Alloc >::_M_destroy_range | ( | size_t | __from_off = 0 , |
|
size_t | __to_off = 1 | |||
) | [inline, protected] |
Definition at line 168 of file _string_base.h.
References _Destroy_Range(), and _String_base< _Tp, _Alloc >::_M_finish.
void _String_base< _Tp, _Alloc >::_M_destroy_ptr_range | ( | _Tp * | __f, | |
_Tp * | __l | |||
) | [inline, protected] |
void _String_base< _Tp, _Alloc >::_M_Swap | ( | _Self & | __s | ) | [inline, protected] |
Definition at line 184 of file _string_base.h.
References _String_base< _Tp, _Alloc >::_DEFAULT_SIZE, _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >::_M_data, _String_base< _Tp, _Alloc >::_M_end_of_storage, _String_base< _Tp, _Alloc >::_M_finish, _String_base< _Tp, _Alloc >::_M_start, _String_base< _Tp, _Alloc >::_M_Swap(), _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >::swap(), and swap.
Referenced by _String_base< _Tp, _Alloc >::_M_Swap().
_STLP_MOVE_TO_STD_NAMESPACE _STLP_END_NAMESPACE _STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE void _String_base< _Tp, _Alloc >::_M_throw_length_error | ( | ) | const [protected] |
void _String_base< _Tp, _Alloc >::_M_throw_out_of_range | ( | ) | const [protected] |
_Tp* _String_base< _Tp, _Alloc >::_M_finish [protected] |
Definition at line 81 of file _string_base.h.
Referenced by _String_base< _Tp, _Alloc >::_M_allocate_block(), _String_base< _Tp, _Alloc >::_M_destroy_back(), _String_base< _Tp, _Alloc >::_M_destroy_range(), _String_base< _Tp, _Alloc >::_M_Finish(), _String_base< _Tp, _Alloc >::_M_reset(), _String_base< _Tp, _Alloc >::_M_Swap(), and _String_base< _Tp, _Alloc >::_String_base().
_AllocProxy _String_base< _Tp, _Alloc >::_M_end_of_storage [protected] |
Definition at line 82 of file _string_base.h.
Referenced by _String_base< _Tp, _Alloc >::_M_allocate_block(), _String_base< _Tp, _Alloc >::_M_deallocate_block(), _String_base< _Tp, _Alloc >::_M_reset(), _String_base< _Tp, _Alloc >::_M_Swap(), _String_base< _Tp, _Alloc >::_String_base(), and _String_base< _Tp, _Alloc >::max_size().