Whole document tree
    

Whole document tree

Templateallocator class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

allocator< _Tp > 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< _Tp >


Member Typedef Documentation

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

Definition at line 89 of file defalloc.h.

Referenced by allocator< _Tp >::const_address().

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

Definition at line 91 of file defalloc.h.

Referenced by allocator< _Tp >::const_address().

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

Definition at line 93 of file defalloc.h.

Referenced by allocator< _Tp >::allocate().

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

Definition at line 88 of file defalloc.h.

Referenced by allocator< _Tp >::address(), allocator< _Tp >::allocate(), and allocator< _Tp >::deallocate().

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

Definition at line 90 of file defalloc.h.

Referenced by allocator< _Tp >::address().

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

Definition at line 92 of file defalloc.h.

Referenced by allocator< _Tp >::allocate(), allocator< _Tp >::init_page_size(), and allocator< _Tp >::max_size().

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

Definition at line 87 of file defalloc.h.


Member Function Documentation

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

Definition at line 98 of file defalloc.h.

References allocator< _Tp >::pointer, and allocator< _Tp >::reference.

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

Definition at line 94 of file defalloc.h.

References allocate(), allocator< _Tp >::difference_type, allocator< _Tp >::pointer, and allocator< _Tp >::size_type.

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

Definition at line 99 of file defalloc.h.

References allocator< _Tp >::const_pointer, and allocator< _Tp >::const_reference.

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

Definition at line 97 of file defalloc.h.

References allocator< _Tp >::pointer.

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

Definition at line 102 of file defalloc.h.

References allocator< _Tp >::size_type.

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

Definition at line 105 of file defalloc.h.

References allocator< _Tp >::size_type.


The documentation for this class was generated from the following file:
Generated on Mon Apr 8 03:16:37 2002 for libstdc++-v3 Source by doxygen1.2.15