std::allocator< _Tp > Class Template Reference

The "standard" allocator, as per [20.4]. More...

#include <allocator.h>

List of all members.

Public Types

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

Public Member Functions

 allocator () throw ()
 allocator (const allocator &__a) throw ()
template<typename _Tp1>
 allocator (const allocator< _Tp1 > &) throw ()
 ~allocator () throw ()

Classes

struct  rebind


Detailed Description

template<typename _Tp>
class std::allocator< _Tp >

The "standard" allocator, as per [20.4].

Further details: http://gcc.gnu.org/onlinedocs/libstdc++/20_util/allocator.html

Definition at line 82 of file allocator.h.


Member Typedef Documentation

template<typename _Tp>
typedef const _Tp* std::allocator< _Tp >::const_pointer

Definition at line 88 of file allocator.h.

template<typename _Tp>
typedef const _Tp& std::allocator< _Tp >::const_reference

Definition at line 90 of file allocator.h.

template<typename _Tp>
typedef ptrdiff_t std::allocator< _Tp >::difference_type

Definition at line 86 of file allocator.h.

template<typename _Tp>
typedef _Tp* std::allocator< _Tp >::pointer

Definition at line 87 of file allocator.h.

template<typename _Tp>
typedef _Tp& std::allocator< _Tp >::reference

Definition at line 89 of file allocator.h.

template<typename _Tp>
typedef size_t std::allocator< _Tp >::size_type

Definition at line 85 of file allocator.h.

template<typename _Tp>
typedef _Tp std::allocator< _Tp >::value_type

Definition at line 91 of file allocator.h.


Constructor & Destructor Documentation

template<typename _Tp>
std::allocator< _Tp >::allocator (  )  throw () [inline]

Definition at line 97 of file allocator.h.

template<typename _Tp>
std::allocator< _Tp >::allocator ( const allocator< _Tp > &  __a  )  throw () [inline]

Definition at line 99 of file allocator.h.

template<typename _Tp>
template<typename _Tp1>
std::allocator< _Tp >::allocator ( const allocator< _Tp1 > &   )  throw () [inline]

Definition at line 103 of file allocator.h.

template<typename _Tp>
std::allocator< _Tp >::~allocator (  )  throw () [inline]

Definition at line 105 of file allocator.h.


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