Block-Structured AMR Software Framework
hacc::AlignedAllocator< T, N > Class Template Reference

#include <AlignedAllocator.h>

Classes

struct  rebind
 

Public Types

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

Public Member Functions

 AlignedAllocator () throw ()
 
 AlignedAllocator (const AlignedAllocator &) throw ()
 
template<typename U , size_t M>
 AlignedAllocator (const AlignedAllocator< U, M > &) throw ()
 
 ~AlignedAllocator () throw ()
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
size_type max_size () const throw ()
 
void construct (pointer p, const_reference val)
 
void destroy (pointer p)
 
pointer allocate (size_type n, const void *=0)
 
void deallocate (pointer p, size_type n)
 

Member Typedef Documentation

◆ const_pointer

template<typename T , size_t N>
typedef const T* hacc::AlignedAllocator< T, N >::const_pointer

◆ const_reference

template<typename T , size_t N>
typedef const T& hacc::AlignedAllocator< T, N >::const_reference

◆ difference_type

template<typename T , size_t N>
typedef ptrdiff_t hacc::AlignedAllocator< T, N >::difference_type

◆ pointer

template<typename T , size_t N>
typedef T* hacc::AlignedAllocator< T, N >::pointer

◆ reference

template<typename T , size_t N>
typedef T& hacc::AlignedAllocator< T, N >::reference

◆ size_type

template<typename T , size_t N>
typedef size_t hacc::AlignedAllocator< T, N >::size_type

◆ value_type

template<typename T , size_t N>
typedef T hacc::AlignedAllocator< T, N >::value_type

Constructor & Destructor Documentation

◆ AlignedAllocator() [1/3]

template<typename T , size_t N>
hacc::AlignedAllocator< T, N >::AlignedAllocator ( )
throw (
)
inline

◆ AlignedAllocator() [2/3]

template<typename T , size_t N>
hacc::AlignedAllocator< T, N >::AlignedAllocator ( const AlignedAllocator< T, N > &  )
throw (
)
inline

◆ AlignedAllocator() [3/3]

template<typename T , size_t N>
template<typename U , size_t M>
hacc::AlignedAllocator< T, N >::AlignedAllocator ( const AlignedAllocator< U, M > &  )
throw (
)
inline

◆ ~AlignedAllocator()

template<typename T , size_t N>
hacc::AlignedAllocator< T, N >::~AlignedAllocator ( )
throw (
)
inline

Member Function Documentation

◆ address() [1/2]

template<typename T , size_t N>
const_pointer hacc::AlignedAllocator< T, N >::address ( const_reference  x) const
inline

◆ address() [2/2]

template<typename T , size_t N>
pointer hacc::AlignedAllocator< T, N >::address ( reference  x) const
inline

◆ allocate()

template<typename T , size_t N>
pointer hacc::AlignedAllocator< T, N >::allocate ( size_type  n,
const void *  = 0 
)
inline

◆ construct()

template<typename T , size_t N>
void hacc::AlignedAllocator< T, N >::construct ( pointer  p,
const_reference  val 
)
inline

◆ deallocate()

template<typename T , size_t N>
void hacc::AlignedAllocator< T, N >::deallocate ( pointer  p,
size_type  n 
)
inline

◆ destroy()

template<typename T , size_t N>
void hacc::AlignedAllocator< T, N >::destroy ( pointer  p)
inline

◆ max_size()

template<typename T , size_t N>
size_type hacc::AlignedAllocator< T, N >::max_size ( ) const
throw (
)
inline

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