libstdc++
Allocators
Collaboration diagram for Allocators:

Classes

struct  __gnu_cxx::__alloc_traits< _Alloc >
 
class  __gnu_cxx::__mt_alloc< _Tp, _Poolp >
 
class  __gnu_cxx::__pool_alloc< _Tp >
 
class  __gnu_cxx::_ExtPtr_allocator< _Tp >
 
class  __gnu_cxx::array_allocator< _Tp, _Array >
 
class  __gnu_cxx::bitmap_allocator< _Tp >
 
class  __gnu_cxx::debug_allocator< _Alloc >
 
class  __gnu_cxx::malloc_allocator< _Tp >
 
class  __gnu_cxx::new_allocator< _Tp >
 
class  __gnu_cxx::throw_allocator_base< _Tp, _Cond >
 
class  std::allocator< _Tp >
 
class  std::allocator< void >
 
struct  std::allocator_traits< _Alloc >
 
class  std::scoped_allocator_adaptor< _OuterAlloc, _InnerAllocs >
 
struct  std::uses_allocator< _Tp, _Alloc >
 

Typedefs

template<typename _Tp >
using std::__allocator_base = __gnu_cxx::new_allocator< _Tp >
 
template<typename _Alloc >
using std::__outer_allocator_t = decltype(std::declval< _Alloc >().outer_allocator())
 

Functions

template<typename _Alloc >
__outermost_type< _Alloc >::type & std::__outermost (_Alloc &__a)
 
template<typename _T1 , typename _T2 >
bool std::operator!= (const allocator< _T1 > &, const allocator< _T2 > &) noexcept
 
template<typename _Tp >
bool std::operator!= (const allocator< _Tp > &, const allocator< _Tp > &) noexcept
 
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 > &) noexcept
 
template<typename _Tp >
bool std::operator== (const allocator< _Tp > &, const allocator< _Tp > &) noexcept
 
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.

Typedef Documentation

template<typename _Tp >
using std::__allocator_base = typedef __gnu_cxx::new_allocator<_Tp>

An alias to the base class for std::allocator.Used to set the std::allocator base class to __gnu_cxx::new_allocator.

Template Parameters
_TpType of allocated object.

Definition at line 48 of file c++allocator.h.