Free Electron
Public Types | Public Member Functions | List of all members
fe::StdAllocator< T > Class Template Reference

Replacement for std::allocator using the FE memory system. More...

#include <StdAllocator.h>

Public Types

typedef FE_UWORD 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

 StdAllocator (const StdAllocator &)
 
pointer allocate (size_type n, const void *=0)
 
void deallocate (void *p, size_type)
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
StdAllocator< T > & operator= (const StdAllocator &)
 
void construct (pointer p, const T &val)
 
void destroy (pointer p)
 
size_type max_size () const
 
template<class U >
 StdAllocator (const StdAllocator< U > &)
 
template<class U >
StdAllocatoroperator= (const StdAllocator< U > &)
 

Detailed Description

template<class T>
class fe::StdAllocator< T >

Replacement for std::allocator using the FE memory system.


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