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


Public Methods


Public Attributes

template<class _Tp, class _Alloc> struct 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, _Alloc> & __a ) [inline]
 

__allocator ( const __allocator< _Tp1, _Alloc > & __a ) [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]
 


Member Data Documentation

_Alloc __underlying_alloc
 


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