Grid 0.7.0
devAllocator< _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

 devAllocator () throw ()
 devAllocator (const devAllocator &) throw ()
template<typename _Tp1>
 devAllocator (const devAllocator< _Tp1 > &) throw ()
 ~devAllocator () 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 devAllocator< _Tp >

Definition at line 131 of file AlignedAllocator.h.

Member Typedef Documentation

◆ size_type

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

Definition at line 133 of file AlignedAllocator.h.

◆ difference_type

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

Definition at line 134 of file AlignedAllocator.h.

◆ pointer

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

Definition at line 135 of file AlignedAllocator.h.

◆ const_pointer

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

Definition at line 136 of file AlignedAllocator.h.

◆ reference

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

Definition at line 137 of file AlignedAllocator.h.

◆ const_reference

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

Definition at line 138 of file AlignedAllocator.h.

◆ value_type

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

Definition at line 139 of file AlignedAllocator.h.

Constructor & Destructor Documentation

◆ devAllocator() [1/3]

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

Definition at line 142 of file AlignedAllocator.h.

◆ devAllocator() [2/3]

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

Definition at line 143 of file AlignedAllocator.h.

◆ devAllocator() [3/3]

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

Definition at line 144 of file AlignedAllocator.h.

◆ ~devAllocator()

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

Definition at line 145 of file AlignedAllocator.h.

Member Function Documentation

◆ address()

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

Definition at line 146 of file AlignedAllocator.h.

◆ max_size()

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

Definition at line 147 of file AlignedAllocator.h.

◆ allocate()

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

Definition at line 149 of file AlignedAllocator.h.

◆ deallocate()

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

Definition at line 161 of file AlignedAllocator.h.

◆ construct() [1/2]

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

Definition at line 167 of file AlignedAllocator.h.

◆ construct() [2/2]

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

Definition at line 168 of file AlignedAllocator.h.

◆ destroy()

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

Definition at line 169 of file AlignedAllocator.h.


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