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 Member Functions

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


Detailed Description

template<class _Tp>
class allocator< _Tp >

Definition at line 85 of file defalloc.h.


Member Typedef Documentation

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

Definition at line 89 of file defalloc.h.

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

Definition at line 91 of file defalloc.h.

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

Definition at line 93 of file defalloc.h.

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

Definition at line 88 of file defalloc.h.

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

Definition at line 90 of file defalloc.h.

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

Definition at line 92 of file defalloc.h.

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.

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

Definition at line 94 of file defalloc.h.

References allocate().

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

Definition at line 99 of file defalloc.h.

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

Definition at line 97 of file defalloc.h.

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

Definition at line 102 of file defalloc.h.

References std::max().

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

Definition at line 105 of file defalloc.h.

References std::max().


The documentation for this class was generated from the following file:
Generated on Tue Feb 2 16:57:39 2010 for GNU C++ STL by  doxygen 1.4.7