libstdc++
Allocators
Collaboration diagram for Allocators:

Classes

struct  __gnu_cxx::__alloc_traits< _Alloc >
 Uniform interface to C++98 and C++0x allocators. More...
class  __gnu_cxx::__mt_alloc< _Tp, _Poolp >
 This is a fixed size (power of 2) allocator which - when compiled with thread support - will maintain one freelist per size per thread plus a global one. Steps are taken to limit the per thread freelist sizes (by returning excess back to the global list).Further details: http://gcc.gnu.org/onlinedocs/libstdc++/manual/bk01pt12ch32.html. More...
class  __gnu_cxx::__pool_alloc< _Tp >
 Allocator using a memory pool with a single lock. More...
class  __gnu_cxx::_ExtPtr_allocator< _Tp >
 An example allocator which uses a non-standard pointer type.This allocator specifies that containers use a 'relative pointer' as it's pointer type. (See ext/pointer.h) Memory allocation in this example is still performed using std::allocator. More...
class  __gnu_cxx::array_allocator< _Tp, _Array >
 An allocator that uses previously allocated memory. This memory can be externally, globally, or otherwise allocated. More...
class  __gnu_cxx::bitmap_allocator< _Tp >
 Bitmap Allocator, primary template. More...
class  __gnu_cxx::debug_allocator< _Alloc >
 A meta-allocator with debugging bits, as per [20.4].This is precisely the allocator defined in the C++ Standard. More...
class  __gnu_cxx::malloc_allocator< _Tp >
 An allocator that uses malloc.This is precisely the allocator defined in the C++ Standard. More...
class  __gnu_cxx::new_allocator< _Tp >
 An allocator that uses global new, as per [20.4].This is precisely the allocator defined in the C++ Standard. More...
class  __gnu_cxx::throw_allocator_base< _Tp, _Cond >
 Allocator class with logging and exception generation control. Intended to be used as an allocator_type in templatized code.Note: Deallocate not allowed to throw. More...
class  std::allocator< _Tp >
 The standard allocator, as per [20.4]. More...
class  std::allocator< void >
 allocator<void> specialization. More...
struct  std::allocator_traits< _Alloc >
 Uniform interface to all allocator types. More...
class  std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs >
 Primary class template. More...

Functions

template<typename _Alloc >
auto std::__do_outermost (_Alloc &__a, _Alloc *)-> decltype(__a.outer_allocator())
template<typename _Alloc >
_Alloc & std::__do_outermost (_Alloc &__a,...)
auto &__a return std::__do_outermost (__a,&__a)
template<typename _Alloc >
auto std::__outermost (_Alloc &__a)-> decltype(__do_outermost(__a
template<typename _T1 , typename _T2 >
bool std::operator!= (const allocator< _T1 > &, const allocator< _T2 > &)
template<typename _Tp >
bool std::operator!= (const allocator< _Tp > &, const allocator< _Tp > &)
template<typename _OutA1 , typename _OutA2 , typename... _InA>
bool std::operator!= (const scoped_allocator_adaptor< _OutA1, _InA...> &__a, const scoped_allocator_adaptor< _OutA2, _InA...> &__b) noexcept
template<typename _T1 , typename _T2 >
bool std::operator== (const allocator< _T1 > &, const allocator< _T2 > &)
template<typename _Tp >
bool std::operator== (const allocator< _Tp > &, const allocator< _Tp > &)
template<typename _OutA1 , typename _OutA2 , typename... _InA>
bool std::operator== (const scoped_allocator_adaptor< _OutA1, _InA...> &__a, const scoped_allocator_adaptor< _OutA2, _InA...> &__b) noexcept

Detailed Description

Classes encapsulating memory operations.