Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

allocator Class Template Reference

#include <defalloc.h>

List of all members.

Public Types

typedef _Tp value_type
typedef _Tp* pointer
typedef const _Tp* const_pointer
typedef _Tp& reference
typedef const _Tp& const_reference
typedef size_t size_type
typedef ptrdiff_t difference_type

Public Methods

pointer allocate (size_type __n)
void deallocate (pointer __p)
pointer address (reference __x)
const_pointer const_address (const_reference __x)
size_type init_page_size ()
size_type max_size () const

template<class _Tp> class allocator


Member Typedef Documentation

template<class _Tp>
typedef const _Tp* allocator<_Tp>::const_pointer
 

Definition at line 60 of file defalloc.h.

template<class _Tp>
typedef const _Tp& allocator<_Tp>::const_reference
 

Definition at line 62 of file defalloc.h.

template<class _Tp>
typedef ptrdiff_t allocator<_Tp>::difference_type
 

Definition at line 64 of file defalloc.h.

template<class _Tp>
typedef _Tp* allocator<_Tp>::pointer
 

Definition at line 59 of file defalloc.h.

template<class _Tp>
typedef _Tp& allocator<_Tp>::reference
 

Definition at line 61 of file defalloc.h.

template<class _Tp>
typedef size_t allocator<_Tp>::size_type
 

Definition at line 63 of file defalloc.h.

Referenced by init_page_size(), and max_size().

template<class _Tp>
typedef _Tp allocator<_Tp>::value_type
 

Definition at line 58 of file defalloc.h.


Member Function Documentation

template<class _Tp>
pointer allocator<_Tp>::address ( reference __x ) [inline]
 

Definition at line 69 of file defalloc.h.

template<class _Tp>
pointer allocator<_Tp>::allocate ( size_type __n ) [inline]
 

Definition at line 65 of file defalloc.h.

template<class _Tp>
const_pointer allocator<_Tp>::const_address ( const_reference __x ) [inline]
 

Definition at line 70 of file defalloc.h.

template<class _Tp>
void allocator<_Tp>::deallocate ( pointer __p ) [inline]
 

Definition at line 68 of file defalloc.h.

template<class _Tp>
size_type allocator<_Tp>::init_page_size ( ) [inline]
 

Definition at line 73 of file defalloc.h.

template<class _Tp>
size_type allocator<_Tp>::max_size ( ) const [inline]
 

Definition at line 76 of file defalloc.h.


The documentation for this class was generated from the following file:
Generated at Tue May 1 16:30:04 2001 for libstdc++-v3 by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001