phdmesh::FixedPoolAllocator< NBYTE, T > Class Template Reference

List of all members.

Detailed Description

template<unsigned NBYTE, typename T = void*>
class phdmesh::FixedPoolAllocator< NBYTE, T >

Definition at line 107 of file FixedPoolAlloc.hpp.

Public Types

typedef FixedPoolBuffer< NBYTE > buffer_type
typedef T value_type
typedef std::size_t size_type
typedef T * pointer
typedef const T * const_pointer
typedef T & reference
typedef const T & const_reference
typedef std::ptrdiff_t difference_type

Public Member Functions

pointer address (reference value) const
const_pointer address (const_reference value) const
 ~FixedPoolAllocator ()
 FixedPoolAllocator ()
 FixedPoolAllocator (const FixedPoolAllocator< NBYTE, T > &a)
 FixedPoolAllocator (buffer_type &b)
template<typename U>
 FixedPoolAllocator (const FixedPoolAllocator< NBYTE, U > &a)
pointer allocate (size_type n, const void *=NULL)
void deallocate (pointer p, size_type n)
void construct (pointer p, const T &val)
void destroy (pointer p)
template<typename U>
void construct (U *p, const U &val)
template<typename U>
void destroy (U *p)
size_type max_size () const

Friends

class FixedPoolAllocator

Classes

struct  rebind


The documentation for this class was generated from the following file:
Generated on Tue Jul 13 09:22:43 2010 for phdMesh by  doxygen 1.4.7