libstdc++
Allocators
Collaboration diagram for Allocators:

Files

file  scoped_allocator
 

Classes

class  std::allocator< _Tp >
 
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 >
 

Functions

template<typename _T1 , typename _T2 >
constexpr bool std::operator!= (const allocator< _T1 > &, const allocator< _T2 > &) noexcept
 
template<typename _OutA1 , typename _OutA2 , typename... _InA>
bool operator!= (const scoped_allocator_adaptor< _OutA1, _InA... > &__a, const scoped_allocator_adaptor< _OutA2, _InA... > &__b) noexcept
 
template<typename _T1 , typename _T2 >
constexpr bool std::operator== (const allocator< _T1 > &, const allocator< _T2 > &) noexcept
 
template<typename _OutA1 , typename _OutA2 , typename... _InA>
bool operator== (const scoped_allocator_adaptor< _OutA1, _InA... > &__a, const scoped_allocator_adaptor< _OutA2, _InA... > &__b) noexcept
 

Detailed Description

Classes encapsulating memory operations.

Typedef Documentation

◆ __allocator_base

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.