dynamic::allocator< T > Struct Template Reference
[Memory and thread management]

An allocator which allocates memory in the local heap. More...

#include <heap.hpp>

List of all members.

Classes

struct  rebind

Public Types

typedef std::size_t size_type
typedef std::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

 allocator (const allocator &) throw ()
template<typename U >
 allocator (const allocator< U > &) throw ()
pointer address (reference x)
const_pointer address (const_reference x)
pointer allocate (size_type s, void *=0)
void deallocate (pointer p, size_type)
void construct (pointer p, const_reference val)
void destroy (pointer p)


Detailed Description

template<typename T>
struct dynamic::allocator< T >

An allocator which allocates memory in the local heap.

Definition at line 59 of file heap.hpp.


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

Generated on Thu Dec 18 22:14:18 2008 for C++Script by  doxygen 1.5.7.1