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

std::_Vector_alloc_base Class Template Reference

#include <stl_vector.h>

Inheritance diagram for std::_Vector_alloc_base:

Inheritance graph
[legend]
List of all members.

Public Types

typedef _Alloc_traits<_Tp,
_Allocator>::allocator_type 
allocator_type

Public Methods

allocator_type get_allocator () const
 _Vector_alloc_base (const allocator_type &__a)

Protected Methods

_Tp* _M_allocate (size_t __n)
void _M_deallocate (_Tp *__p, size_t __n)

Protected Attributes

allocator_type _M_data_allocator
_Tp* _M_start
_Tp* _M_finish
_Tp* _M_end_of_storage

template<class _Tp, class _Allocator, bool _IsStatic> class std::_Vector_alloc_base


Member Typedef Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
typedef _Alloc_traits<_Tp, _Allocator>::allocator_type std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::allocator_type
 

Reimplemented in std::_Vector_base, and std::vector.

Definition at line 52 of file stl_vector.h.


Constructor & Destructor Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_Vector_alloc_base<_Tp, _Allocator, _IsStatic> ( const allocator_type & __a ) [inline]
 

Definition at line 55 of file stl_vector.h.


Member Function Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp * std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_M_allocate ( size_t __n ) [inline, protected]
 

Definition at line 65 of file stl_vector.h.

Referenced by std::vector::_M_allocate_and_copy(), std::vector::_M_initialize_aux(), std::vector::_M_range_initialize(), and std::_Vector_base::_Vector_base().

template<class _Tp, class _Allocator, bool _IsStatic>
void std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_M_deallocate ( _Tp * __p,
size_t __n ) [inline, protected]
 

Definition at line 67 of file stl_vector.h.

Referenced by std::vector::_M_allocate_and_copy(), std::vector::reserve(), and std::_Vector_base::~_Vector_base().

template<class _Tp, class _Allocator, bool _IsStatic>
allocator_type std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::get_allocator ( ) const [inline]
 

Reimplemented in std::vector.

Definition at line 53 of file stl_vector.h.


Member Data Documentation

template<class _Tp, class _Allocator, bool _IsStatic>
allocator_type std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_M_data_allocator [protected]
 

Definition at line 60 of file stl_vector.h.

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp* std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_M_end_of_storage [protected]
 

Definition at line 63 of file stl_vector.h.

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp* std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_M_finish [protected]
 

Definition at line 62 of file stl_vector.h.

template<class _Tp, class _Allocator, bool _IsStatic>
_Tp* std::_Vector_alloc_base<_Tp, _Allocator, _IsStatic>::_M_start [protected]
 

Definition at line 61 of file stl_vector.h.


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