DelegateMQ
Loading...
Searching...
No Matches
stl_allocator< T > Class Template Reference

#include <stl_allocator.h>

Inheritance diagram for stl_allocator< T >:

Classes

struct  rebind
 

Public Types

typedef size_t size_type
 
typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef const T * const_pointer
 
typedef T & reference
 
typedef const T & const_reference
 
typedef T value_type
 

Public Member Functions

 stl_allocator ()
 
template<class U >
 stl_allocator (const stl_allocator< U > &)
 
pointer allocate (size_type n, typename std::allocator_traits< stl_allocator< void > >::const_pointer hint=0)
 
void deallocate (pointer p, size_type n)
 

Member Typedef Documentation

◆ const_pointer

template<typename T >
const T* stl_allocator< T >::const_pointer

◆ const_reference

template<typename T >
const T& stl_allocator< T >::const_reference

◆ difference_type

template<typename T >
ptrdiff_t stl_allocator< T >::difference_type

◆ pointer

template<typename T >
T* stl_allocator< T >::pointer

◆ reference

template<typename T >
T& stl_allocator< T >::reference

◆ size_type

template<typename T >
size_t stl_allocator< T >::size_type

◆ value_type

template<typename T >
T stl_allocator< T >::value_type

Constructor & Destructor Documentation

◆ stl_allocator() [1/2]

template<typename T >
stl_allocator< T >::stl_allocator ( )
inline

◆ stl_allocator() [2/2]

template<typename T >
template<class U >
stl_allocator< T >::stl_allocator ( const stl_allocator< U > & )
inline

Member Function Documentation

◆ allocate()

template<typename T >
pointer stl_allocator< T >::allocate ( size_type n,
typename std::allocator_traits< stl_allocator< void > >::const_pointer hint = 0 )
inline

◆ deallocate()

template<typename T >
void stl_allocator< T >::deallocate ( pointer p,
size_type n )
inline

The documentation for this class was generated from the following file: