__allocator< _Tp, _Alloc > Struct Template Reference

#include <_alloc_old.h>

List of all members.

Public Types

typedef _Alloc __underlying_alloc
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 () _STLP_NOTHROW
 __allocator (const _Alloc &) _STLP_NOTHROW
 __allocator (const __allocator< _Tp, _Alloc > &__a) _STLP_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 _STLP_NOTHROW
void construct (pointer __p, const_reference __val)
void destroy (pointer __p)
const __underlying_alloc__get_underlying_alloc () const


Detailed Description

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

Definition at line 24 of file _alloc_old.h.


Member Typedef Documentation

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

Definition at line 25 of file _alloc_old.h.

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

Definition at line 27 of file _alloc_old.h.

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

Definition at line 28 of file _alloc_old.h.

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

Definition at line 29 of file _alloc_old.h.

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

Definition at line 30 of file _alloc_old.h.

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

Definition at line 31 of file _alloc_old.h.

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

Definition at line 32 of file _alloc_old.h.

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

Definition at line 33 of file _alloc_old.h.


Constructor & Destructor Documentation

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

Definition at line 40 of file _alloc_old.h.

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

Definition at line 41 of file _alloc_old.h.

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

Definition at line 42 of file _alloc_old.h.


Member Function Documentation

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

Definition at line 52 of file _alloc_old.h.

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

Definition at line 55 of file _alloc_old.h.

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

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

Definition at line 68 of file _alloc_old.h.

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

Definition at line 71 of file _alloc_old.h.

Referenced by __allocator< _Tp, _Alloc >::allocate().

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

Definition at line 74 of file _alloc_old.h.

References _Copy_Construct().

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

Definition at line 75 of file _alloc_old.h.

References _Destroy().

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

Definition at line 77 of file _alloc_old.h.

Referenced by operator==().


The documentation for this struct was generated from the following file:



Generated on Mon Mar 10 15:32:52 2008 by  doxygen 1.5.1