Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Basics::Allocator< T > Class Template Reference

#include <BasicsAllocator.H>

List of all members.

Public Types

typedef size_t size_type
typedef ptrdiff_t difference_type
typedef Tpointer
typedef const Tconst_pointer
typedef Treference
typedef const Tconst_reference
typedef T value_type

Public Member Functions

 Allocator ()
template<class T1>
 Allocator (const Allocator< T1 > &) throw ()
 ~Allocator () throw ()
pointer address (reference x) const
const_pointer address (const_reference x) const
Tallocate (size_type n, const void *=0)
void deallocate (pointer p, size_type n)
size_type max_size () const throw ()
void construct (pointer p, const T &__val)
void destroy (pointer p)
bool operator== (const Allocator< T > &) throw ()

Classes

struct  rebind

template<class T>
class Basics::Allocator< T >


Member Typedef Documentation

template<class T>
typedef const T* Basics::Allocator< T >::const_pointer
 

Definition at line 41 of file BasicsAllocator.H.

template<class T>
typedef const T& Basics::Allocator< T >::const_reference
 

Definition at line 43 of file BasicsAllocator.H.

template<class T>
typedef ptrdiff_t Basics::Allocator< T >::difference_type
 

Definition at line 39 of file BasicsAllocator.H.

template<class T>
typedef T* Basics::Allocator< T >::pointer
 

Definition at line 40 of file BasicsAllocator.H.

template<class T>
typedef T& Basics::Allocator< T >::reference
 

Definition at line 42 of file BasicsAllocator.H.

template<class T>
typedef size_t Basics::Allocator< T >::size_type
 

Definition at line 38 of file BasicsAllocator.H.

template<class T>
typedef T Basics::Allocator< T >::value_type
 

Definition at line 44 of file BasicsAllocator.H.


Constructor & Destructor Documentation

template<class T>
Basics::Allocator< T >::Allocator  )  [inline]
 

Definition at line 50 of file BasicsAllocator.H.

template<class T>
template<class T1>
Basics::Allocator< T >::Allocator const Allocator< T1 > &   )  throw () [inline]
 

Definition at line 51 of file BasicsAllocator.H.

template<class T>
Basics::Allocator< T >::~Allocator  )  throw () [inline]
 

Definition at line 52 of file BasicsAllocator.H.


Member Function Documentation

template<class T>
const_pointer Basics::Allocator< T >::address const_reference  x  )  const [inline]
 

Definition at line 55 of file BasicsAllocator.H.

template<class T>
pointer Basics::Allocator< T >::address reference  x  )  const [inline]
 

Definition at line 54 of file BasicsAllocator.H.

template<class T>
T* Basics::Allocator< T >::allocate size_type  n,
const void *  = 0
[inline]
 

Definition at line 57 of file BasicsAllocator.H.

References operator().

template<class T>
void Basics::Allocator< T >::construct pointer  p,
const T __val
[inline]
 

Definition at line 69 of file BasicsAllocator.H.

template<class T>
void Basics::Allocator< T >::deallocate pointer  p,
size_type  n
[inline]
 

Definition at line 61 of file BasicsAllocator.H.

References operator().

template<class T>
void Basics::Allocator< T >::destroy pointer  p  )  [inline]
 

Definition at line 70 of file BasicsAllocator.H.

template<class T>
size_type Basics::Allocator< T >::max_size  )  const throw () [inline]
 

Definition at line 66 of file BasicsAllocator.H.

template<class T>
bool Basics::Allocator< T >::operator== const Allocator< T > &   )  throw () [inline]
 

Definition at line 72 of file BasicsAllocator.H.


The documentation for this class was generated from the following file:
Generated on Mon May 8 00:49:17 2006 for Vesta by  doxygen 1.4.2