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

std::__allocator Struct Template Reference

#include <stl_alloc.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 Methods

 __allocator () __STL_NOTHROW
 __allocator (const __allocator &__a) __STL_NOTHROW
template<class _Tp1>  __allocator (const __allocator< _Tp1, _Alloc > &__a) __STL_NOTHROW
 ~__allocator () __STL_NOTHROW
pointer address (reference __x) const
const_pointer address (const_reference __x) const
_Tp* allocate (size_type __n, const void *=0)
void deallocate (pointer __p, size_type __n)
size_type max_size () const __STL_NOTHROW
void construct (pointer __p, const _Tp &__val)
void destroy (pointer __p)

Public Attributes

_Alloc __underlying_alloc

template<class _Tp, class _Alloc> struct std::__allocator


Member Typedef Documentation

template<class _Tp, class _Alloc>
typedef const _Tp* std::__allocator<_Tp, _Alloc>::const_pointer
 

Definition at line 609 of file stl_alloc.h.

template<class _Tp, class _Alloc>
typedef const _Tp& std::__allocator<_Tp, _Alloc>::const_reference
 

Definition at line 611 of file stl_alloc.h.

template<class _Tp, class _Alloc>
typedef ptrdiff_t std::__allocator<_Tp, _Alloc>::difference_type
 

Definition at line 607 of file stl_alloc.h.

template<class _Tp, class _Alloc>
typedef _Tp* std::__allocator<_Tp, _Alloc>::pointer
 

Definition at line 608 of file stl_alloc.h.

template<class _Tp, class _Alloc>
typedef _Tp& std::__allocator<_Tp, _Alloc>::reference
 

Definition at line 610 of file stl_alloc.h.

template<class _Tp, class _Alloc>
typedef size_t std::__allocator<_Tp, _Alloc>::size_type
 

Definition at line 606 of file stl_alloc.h.

template<class _Tp, class _Alloc>
typedef _Tp std::__allocator<_Tp, _Alloc>::value_type
 

Definition at line 612 of file stl_alloc.h.


Constructor & Destructor Documentation

template<class _Tp, class _Alloc>
std::__allocator<_Tp, _Alloc>::__allocator<_Tp, _Alloc> ( ) [inline]
 

Definition at line 618 of file stl_alloc.h.

template<class _Tp, class _Alloc>
std::__allocator<_Tp, _Alloc>::__allocator<_Tp, _Alloc> ( const __allocator<_Tp, _Alloc> & __a ) [inline]
 

Definition at line 619 of file stl_alloc.h.

template<class _Tp, class _Alloc>
template<class _Tp1>
std::__allocator<_Tp, _Alloc>::__allocator<_Tp, _Alloc> ( const __allocator< _Tp1, _Alloc > & __a ) [inline]
 

Definition at line 622 of file stl_alloc.h.

template<class _Tp, class _Alloc>
std::__allocator<_Tp, _Alloc>::~__allocator<_Tp, _Alloc> ( ) [inline]
 

Definition at line 624 of file stl_alloc.h.


Member Function Documentation

template<class _Tp, class _Alloc>
const_pointer std::__allocator<_Tp, _Alloc>::address ( const_reference __x ) const [inline]
 

Definition at line 627 of file stl_alloc.h.

template<class _Tp, class _Alloc>
pointer std::__allocator<_Tp, _Alloc>::address ( reference __x ) const [inline]
 

Definition at line 626 of file stl_alloc.h.

template<class _Tp, class _Alloc>
_Tp * std::__allocator<_Tp, _Alloc>::allocate ( size_type __n,
const void * = 0 ) [inline]
 

Definition at line 630 of file stl_alloc.h.

template<class _Tp, class _Alloc>
void std::__allocator<_Tp, _Alloc>::construct ( pointer __p,
const _Tp & __val ) [inline]
 

Definition at line 643 of file stl_alloc.h.

template<class _Tp, class _Alloc>
void std::__allocator<_Tp, _Alloc>::deallocate ( pointer __p,
size_type __n ) [inline]
 

Definition at line 637 of file stl_alloc.h.

template<class _Tp, class _Alloc>
void std::__allocator<_Tp, _Alloc>::destroy ( pointer __p ) [inline]
 

Definition at line 644 of file stl_alloc.h.

template<class _Tp, class _Alloc>
size_type std::__allocator<_Tp, _Alloc>::max_size ( ) const [inline]
 

Definition at line 640 of file stl_alloc.h.


Member Data Documentation

template<class _Tp, class _Alloc>
_Alloc std::__allocator<_Tp, _Alloc>::__underlying_alloc
 

Definition at line 604 of file stl_alloc.h.


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