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

std::allocator Class Template Reference

#include <stl_alloc.h>

List of all members.

Public Types


Public Methods

template<class _Tp> class std::allocator


Member Typedef Documentation

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
 


Constructor & Destructor Documentation

allocator ( ) [inline]
 

allocator ( const allocator<_Tp> & ) [inline]
 

allocator ( const allocator< _Tp1 > & ) [inline]
 

~allocator ( ) [inline]
 


Member Function Documentation

pointer address ( reference __x ) const [inline]
 

const_pointer address ( const_reference __x ) const [inline]
 

_Tp * allocate ( size_type __n,
const void * = 0 ) [inline]
 

void deallocate ( pointer __p,
size_type __n ) [inline]
 

size_type max_size ( ) const [inline]
 

void construct ( pointer __p,
const _Tp & __val ) [inline]
 

void destroy ( pointer __p ) [inline]
 


The documentation for this class was generated from the following file:
Generated at Fri Apr 6 15:54:33 2001 for libstdc++ by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001