#include <string.hpp>
Classes | |
struct | members_holder |
union | repr_t |
struct | short_t |
Public Types | |
typedef Allocator | allocator_type |
typedef allocator_type | stored_allocator_type |
typedef allocator_traits_type::pointer | pointer |
typedef allocator_traits_type::value_type | value_type |
typedef allocator_traits_type::size_type | size_type |
typedef ::boost::intrusive::pointer_traits < pointer > | pointer_traits |
Public Member Functions | |
basic_string_base () | |
basic_string_base (const allocator_type &a) | |
basic_string_base (BOOST_RV_REF(allocator_type) a) | |
basic_string_base (const allocator_type &a, size_type n) | |
~basic_string_base () | |
Protected Types | |
typedef container_detail::integral_constant < unsigned, 1 > | allocator_v1 |
typedef container_detail::integral_constant < unsigned, 2 > | allocator_v2 |
typedef container_detail::integral_constant < unsigned, boost::container::container_detail::version < Allocator >::value > | alloc_version |
Protected Attributes | |
boost::container::container_detail::basic_string_base::members_holder | members_ |
Static Protected Attributes | |
static const size_type | MinInternalBufferChars = 8 |
static const size_type | AlignmentOfValueType |
static const size_type | ShortDataOffset |
static const size_type | ZeroCostInternalBufferChars |
static const size_type | UnalignedFinalInternalBufferChars |
static const size_type | InternalBufferChars = (sizeof(repr_t) - ShortDataOffset)/sizeof(value_type) |
|
protected |
typedef Allocator boost::container::container_detail::basic_string_base< Allocator >::allocator_type |
|
protected |
|
protected |
typedef allocator_traits_type::pointer boost::container::container_detail::basic_string_base< Allocator >::pointer |
typedef ::boost::intrusive::pointer_traits<pointer> boost::container::container_detail::basic_string_base< Allocator >::pointer_traits |
typedef allocator_traits_type::size_type boost::container::container_detail::basic_string_base< Allocator >::size_type |
typedef allocator_type boost::container::container_detail::basic_string_base< Allocator >::stored_allocator_type |
typedef allocator_traits_type::value_type boost::container::container_detail::basic_string_base< Allocator >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::members_.
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocation_command(), boost::container::basic_string< CharT, Traits, Allocator >::basic_string(), boost::container::container_detail::basic_string_base< Allocator >::construct(), boost::container::container_detail::basic_string_base< Allocator >::deallocate(), boost::container::container_detail::basic_string_base< Allocator >::destroy(), boost::container::basic_string< CharT, Traits, Allocator >::get_allocator(), boost::container::basic_string< CharT, Traits, Allocator >::get_stored_allocator(), boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::max_size(), boost::container::container_detail::basic_string_base< Allocator >::next_capacity(), boost::container::basic_string< CharT, Traits, Allocator >::operator=(), boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit(), boost::container::basic_string< CharT, Traits, Allocator >::substr(), and boost::container::basic_string< CharT, Traits, Allocator >::swap().
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::allocation_command(), boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::max_size(), boost::container::container_detail::basic_string_base< Allocator >::next_capacity(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_size(), boost::container::container_detail::basic_string_base< Allocator >::priv_storage(), and boost::container::throw_length_error().
Referenced by boost::container::container_detail::basic_string_base< Allocator >::basic_string_base().
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::alloc(), and boost::container::container_detail::basic_string_base< Allocator >::is_short().
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocate_initial_block(), and boost::container::basic_string< CharT, Traits, Allocator >::insert().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::deallocate(), boost::container::container_detail::basic_string_base< Allocator >::priv_addr(), and boost::container::container_detail::basic_string_base< Allocator >::priv_storage().
Referenced by boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::basic_string< CharT, Traits, Allocator >::operator=(), and boost::container::container_detail::basic_string_base< Allocator >::~basic_string_base().
|
inlineprotected |
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::short_t::h, boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, boost::container::container_detail::basic_string_base< Allocator >::members_, and boost::container::container_detail::basic_string_base< Allocator >::repr_t::s.
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocate_initial_block(), boost::container::container_detail::basic_string_base< Allocator >::allocation_command(), boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::basic_string< CharT, Traits, Allocator >::operator=(), boost::container::container_detail::basic_string_base< Allocator >::priv_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_end_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_size(), boost::container::container_detail::basic_string_base< Allocator >::priv_storage(), boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit(), boost::container::container_detail::basic_string_base< Allocator >::swap_data(), and boost::container::container_detail::basic_string_base< Allocator >::~basic_string_base().
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::alloc(), boost::container::allocator_traits< Allocator >::construct(), boost::container::allocator_traits< Allocator >::destroy(), boost::container::container_detail::basic_string_base< Allocator >::short_t::h, boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, boost::container::container_detail::basic_string_base< Allocator >::members_, boost::container::container_detail::basic_string_base< Allocator >::repr_t::r, and boost::container::container_detail::basic_string_base< Allocator >::repr_t::s.
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::alloc(), and boost::container::allocator_traits< Allocator >::max_size().
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocate_initial_block(), and boost::container::basic_string< CharT, Traits, Allocator >::max_size().
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::alloc(), boost::get(), boost::container::allocator_traits< Allocator >::max_size(), and boost::container::container_detail::basic_string_base< Allocator >::priv_storage().
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocate_initial_block(), and boost::container::basic_string< CharT, Traits, Allocator >::insert().
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_addr(), and boost::container::container_detail::basic_string_base< Allocator >::priv_short_addr().
Referenced by boost::container::basic_string< CharT, Traits, Allocator >::assign(), boost::container::basic_string< CharT, Traits, Allocator >::at(), boost::container::basic_string< CharT, Traits, Allocator >::begin(), boost::container::basic_string< CharT, Traits, Allocator >::c_str(), boost::container::basic_string< CharT, Traits, Allocator >::cbegin(), boost::container::basic_string< CharT, Traits, Allocator >::clear(), boost::container::basic_string< CharT, Traits, Allocator >::compare(), boost::container::basic_string< CharT, Traits, Allocator >::copy(), boost::container::basic_string< CharT, Traits, Allocator >::crend(), boost::container::basic_string< CharT, Traits, Allocator >::data(), boost::container::container_detail::basic_string_base< Allocator >::deallocate_block(), boost::container::basic_string< CharT, Traits, Allocator >::erase(), boost::container::basic_string< CharT, Traits, Allocator >::find(), boost::container::basic_string< CharT, Traits, Allocator >::find_first_not_of(), boost::container::basic_string< CharT, Traits, Allocator >::find_first_of(), boost::container::basic_string< CharT, Traits, Allocator >::find_last_of(), boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::basic_string< CharT, Traits, Allocator >::operator=(), boost::container::basic_string< CharT, Traits, Allocator >::operator[](), boost::container::basic_string< CharT, Traits, Allocator >::pop_back(), boost::container::basic_string< CharT, Traits, Allocator >::push_back(), boost::container::basic_string< CharT, Traits, Allocator >::rend(), boost::container::basic_string< CharT, Traits, Allocator >::replace(), and boost::container::basic_string< CharT, Traits, Allocator >::substr().
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_size(), boost::container::container_detail::basic_string_base< Allocator >::priv_short_addr(), and boost::container::container_detail::basic_string_base< Allocator >::priv_short_size().
Referenced by boost::container::basic_string< CharT, Traits, Allocator >::cend(), boost::container::basic_string< CharT, Traits, Allocator >::crbegin(), boost::container::basic_string< CharT, Traits, Allocator >::end(), and boost::container::basic_string< CharT, Traits, Allocator >::rbegin().
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::repr_t::long_repr(), boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, and boost::container::container_detail::basic_string_base< Allocator >::members_.
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocate_initial_block(), boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::container_detail::basic_string_base< Allocator >::priv_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_end_addr(), and boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit().
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::repr_t::long_repr(), boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, and boost::container::container_detail::basic_string_base< Allocator >::members_.
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocate_initial_block(), boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::container_detail::basic_string_base< Allocator >::priv_end_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_size(), and boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit().
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::repr_t::long_repr(), boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, and boost::container::container_detail::basic_string_base< Allocator >::members_.
Referenced by boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::container_detail::basic_string_base< Allocator >::priv_storage(), and boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit().
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::short_t::data, boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, boost::container::container_detail::basic_string_base< Allocator >::members_, boost::intrusive::pointer_traits< pointer >::pointer_to(), and boost::container::container_detail::basic_string_base< Allocator >::repr_t::short_repr().
Referenced by boost::container::container_detail::basic_string_base< Allocator >::priv_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_end_addr(), and boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit().
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::short_t::h, boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, boost::container::container_detail::basic_string_base< Allocator >::members_, and boost::container::container_detail::basic_string_base< Allocator >::repr_t::short_repr().
Referenced by boost::container::basic_string< CharT, Traits, Allocator >::operator=(), boost::container::container_detail::basic_string_base< Allocator >::priv_end_addr(), and boost::container::container_detail::basic_string_base< Allocator >::priv_size().
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::short_t::h, boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, boost::container::container_detail::basic_string_base< Allocator >::members_, and boost::container::container_detail::basic_string_base< Allocator >::repr_t::s.
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_size(), and boost::container::container_detail::basic_string_base< Allocator >::priv_short_size().
Referenced by boost::container::basic_string< CharT, Traits, Allocator >::assign(), boost::container::basic_string< CharT, Traits, Allocator >::basic_string(), boost::container::basic_string< CharT, Traits, Allocator >::clear(), boost::container::basic_string< CharT, Traits, Allocator >::compare(), boost::container::basic_string< CharT, Traits, Allocator >::empty(), boost::container::basic_string< CharT, Traits, Allocator >::erase(), boost::container::basic_string< CharT, Traits, Allocator >::find(), boost::container::basic_string< CharT, Traits, Allocator >::find_first_not_of(), boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::basic_string< CharT, Traits, Allocator >::pop_back(), boost::container::basic_string< CharT, Traits, Allocator >::push_back(), boost::container::basic_string< CharT, Traits, Allocator >::resize(), boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit(), and boost::container::basic_string< CharT, Traits, Allocator >::size().
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_storage(), and boost::container::container_detail::basic_string_base< Allocator >::priv_short_storage().
Referenced by boost::container::container_detail::basic_string_base< Allocator >::allocate_initial_block(), boost::container::container_detail::basic_string_base< Allocator >::deallocate_block(), boost::container::basic_string< CharT, Traits, Allocator >::insert(), boost::container::container_detail::basic_string_base< Allocator >::next_capacity(), boost::container::container_detail::basic_string_base< Allocator >::priv_capacity(), and boost::container::basic_string< CharT, Traits, Allocator >::shrink_to_fit().
|
inlineprotected |
|
inlineprotected |
References boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::repr_t::long_repr(), boost::container::container_detail::basic_string_base< Allocator >::members_holder::m_repr, boost::container::container_detail::basic_string_base< Allocator >::members_, boost::container::container_detail::basic_string_base< Allocator >::repr_t::short_repr(), and boost::container::swap().
Referenced by boost::container::basic_string< CharT, Traits, Allocator >::assign(), boost::container::basic_string< CharT, Traits, Allocator >::basic_string(), boost::container::basic_string< CharT, Traits, Allocator >::operator=(), and boost::container::basic_string< CharT, Traits, Allocator >::swap().
|
staticprotected |
|
staticprotected |
|
protected |
Referenced by boost::container::container_detail::basic_string_base< Allocator >::alloc(), boost::container::container_detail::basic_string_base< Allocator >::is_short(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_size(), boost::container::container_detail::basic_string_base< Allocator >::priv_long_storage(), boost::container::container_detail::basic_string_base< Allocator >::priv_short_addr(), boost::container::container_detail::basic_string_base< Allocator >::priv_short_size(), and boost::container::container_detail::basic_string_base< Allocator >::swap_data().
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |