Grid 0.7.0
alignedAllocator< _Tp > Class Template Reference

#include <AlignedAllocator.h>

Data Structures

struct  rebind

Public Types

typedef std::size_t size_type
typedef std::ptrdiff_t difference_type
typedef _Tp * pointer
typedef const _Tp * const_pointer
typedef _Tp & reference
typedef const _Tp & const_reference
typedef _Tp value_type

Public Member Functions

 alignedAllocator () throw ()
 alignedAllocator (const alignedAllocator &) throw ()
template<typename _Tp1>
 alignedAllocator (const alignedAllocator< _Tp1 > &) throw ()
 ~alignedAllocator () throw ()
pointer address (reference __x) const
size_type max_size () const throw ()
pointer allocate (size_type __n, const void *_p=0)
void deallocate (pointer __p, size_type __n)
void construct (pointer __p, const _Tp &__val)
void construct (pointer __p)
void destroy (pointer __p)

Detailed Description

template<typename _Tp>
class alignedAllocator< _Tp >

Definition at line 34 of file AlignedAllocator.h.

Member Typedef Documentation

◆ size_type

template<typename _Tp>
typedef std::size_t alignedAllocator< _Tp >::size_type

Definition at line 36 of file AlignedAllocator.h.

◆ difference_type

template<typename _Tp>
typedef std::ptrdiff_t alignedAllocator< _Tp >::difference_type

Definition at line 37 of file AlignedAllocator.h.

◆ pointer

template<typename _Tp>
typedef _Tp* alignedAllocator< _Tp >::pointer

Definition at line 38 of file AlignedAllocator.h.

◆ const_pointer

template<typename _Tp>
typedef const _Tp* alignedAllocator< _Tp >::const_pointer

Definition at line 39 of file AlignedAllocator.h.

◆ reference

template<typename _Tp>
typedef _Tp& alignedAllocator< _Tp >::reference

Definition at line 40 of file AlignedAllocator.h.

◆ const_reference

template<typename _Tp>
typedef const _Tp& alignedAllocator< _Tp >::const_reference

Definition at line 41 of file AlignedAllocator.h.

◆ value_type

template<typename _Tp>
typedef _Tp alignedAllocator< _Tp >::value_type

Definition at line 42 of file AlignedAllocator.h.

Constructor & Destructor Documentation

◆ alignedAllocator() [1/3]

template<typename _Tp>
alignedAllocator< _Tp >::alignedAllocator ( )
throw ( )
inline

Definition at line 45 of file AlignedAllocator.h.

◆ alignedAllocator() [2/3]

template<typename _Tp>
alignedAllocator< _Tp >::alignedAllocator ( const alignedAllocator< _Tp > & )
throw ( )
inline

Definition at line 46 of file AlignedAllocator.h.

◆ alignedAllocator() [3/3]

template<typename _Tp>
template<typename _Tp1>
alignedAllocator< _Tp >::alignedAllocator ( const alignedAllocator< _Tp1 > & )
throw ( )
inline

Definition at line 47 of file AlignedAllocator.h.

◆ ~alignedAllocator()

template<typename _Tp>
alignedAllocator< _Tp >::~alignedAllocator ( )
throw ( )
inline

Definition at line 48 of file AlignedAllocator.h.

Member Function Documentation

◆ address()

template<typename _Tp>
pointer alignedAllocator< _Tp >::address ( reference __x) const
inline

Definition at line 49 of file AlignedAllocator.h.

◆ max_size()

template<typename _Tp>
size_type alignedAllocator< _Tp >::max_size ( ) const
throw ( )
inline

Definition at line 50 of file AlignedAllocator.h.

◆ allocate()

template<typename _Tp>
pointer alignedAllocator< _Tp >::allocate ( size_type __n,
const void * _p = 0 )
inline

Definition at line 52 of file AlignedAllocator.h.

Referenced by Lattice< CoarseSiteVector >::resize().

◆ deallocate()

template<typename _Tp>
void alignedAllocator< _Tp >::deallocate ( pointer __p,
size_type __n )
inline

Definition at line 64 of file AlignedAllocator.h.

Referenced by Lattice< CoarseSiteVector >::dealloc().

◆ construct() [1/2]

template<typename _Tp>
void alignedAllocator< _Tp >::construct ( pointer __p,
const _Tp & __val )
inline

Definition at line 72 of file AlignedAllocator.h.

◆ construct() [2/2]

template<typename _Tp>
void alignedAllocator< _Tp >::construct ( pointer __p)
inline

Definition at line 73 of file AlignedAllocator.h.

◆ destroy()

template<typename _Tp>
void alignedAllocator< _Tp >::destroy ( pointer __p)
inline

Definition at line 74 of file AlignedAllocator.h.


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