STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Public Attributes | List of all members
_Vector_alloc< _Al_has_storage, _Alloc_types > Class Template Reference
Inheritance diagram for _Vector_alloc< _Al_has_storage, _Alloc_types >:
_Vector_val< _Alloc_types::_Val_types > _Container_base0

Public Types

typedef _Vector_alloc< _Al_has_storage, _Alloc_types > _Myt
 
typedef _Alloc_types::_Alloc _Alloc
 
typedef _Alloc_types::_Alty _Alty
 
- Public Types inherited from _Vector_val< _Alloc_types::_Val_types >
typedef _Vector_val< _Alloc_types::_Val_types > _Myt
 
typedef _Alloc_types::_Val_types::value_type value_type
 
typedef _Alloc_types::_Val_types::size_type size_type
 
typedef _Alloc_types::_Val_types::difference_type difference_type
 
typedef _Alloc_types::_Val_types::pointer pointer
 
typedef _Alloc_types::_Val_types::const_pointer const_pointer
 
typedef _Alloc_types::_Val_types::reference reference
 
typedef _Alloc_types::_Val_types::const_reference const_reference
 
typedef _Vector_iterator< _Mytiterator
 
typedef _Vector_const_iterator< _Mytconst_iterator
 

Public Member Functions

 _Vector_alloc (const _Alloc &_Al=_Alloc())
 
void _Change_alloc (const _Alty &_Al)
 
void _Swap_alloc (_Myt &_Right)
 
_Alty_Getal ()
 
const _Alty_Getal () const
 
- Public Member Functions inherited from _Vector_val< _Alloc_types::_Val_types >
 _Vector_val ()
 
- Public Member Functions inherited from _Container_base0
void _Orphan_all ()
 
void _Swap_all (_Container_base0 &)
 

Public Attributes

_Alloc_types::_Alty _Alval
 
- Public Attributes inherited from _Vector_val< _Alloc_types::_Val_types >
pointer _Myfirst
 
pointer _Mylast
 
pointer _Myend
 

Member Typedef Documentation

template<bool _Al_has_storage, class _Alloc_types>
typedef _Alloc_types::_Alloc _Vector_alloc< _Al_has_storage, _Alloc_types >::_Alloc
template<bool _Al_has_storage, class _Alloc_types>
typedef _Alloc_types::_Alty _Vector_alloc< _Al_has_storage, _Alloc_types >::_Alty
template<bool _Al_has_storage, class _Alloc_types>
typedef _Vector_alloc<_Al_has_storage, _Alloc_types> _Vector_alloc< _Al_has_storage, _Alloc_types >::_Myt

Constructor & Destructor Documentation

template<bool _Al_has_storage, class _Alloc_types>
_Vector_alloc< _Al_has_storage, _Alloc_types >::_Vector_alloc ( const _Alloc _Al = _Alloc())
inline
507  : _Alval(_Al)
508  { // construct allocator from _Al
509  }
_Alloc_types::_Alty _Alval
Definition: vector:499

Member Function Documentation

template<bool _Al_has_storage, class _Alloc_types>
void _Vector_alloc< _Al_has_storage, _Alloc_types >::_Change_alloc ( const _Alty _Al)
inline
512  { // replace old allocator
513  this->_Alval = _Al;
514  }
_Alloc_types::_Alty _Alval
Definition: vector:499
template<bool _Al_has_storage, class _Alloc_types>
_Alty& _Vector_alloc< _Al_has_storage, _Alloc_types >::_Getal ( )
inline
567  { // get reference to allocator
568  return (this->_Alval);
569  }
_Alloc_types::_Alty _Alval
Definition: vector:499
template<bool _Al_has_storage, class _Alloc_types>
const _Alty& _Vector_alloc< _Al_has_storage, _Alloc_types >::_Getal ( ) const
inline
572  { // get reference to allocator
573  return (this->_Alval);
574  }
_Alloc_types::_Alty _Alval
Definition: vector:499
template<bool _Al_has_storage, class _Alloc_types>
void _Vector_alloc< _Al_has_storage, _Alloc_types >::_Swap_alloc ( _Myt _Right)
inline
517  { // swap allocators
518  _Swap_adl(this->_Alval, _Right._Alval);
519  }
_Alloc_types::_Alty _Alval
Definition: vector:499
const _Ty & _Right
Definition: algorithm:4087

Member Data Documentation

template<bool _Al_has_storage, class _Alloc_types>
_Alloc_types::_Alty _Vector_alloc< _Al_has_storage, _Alloc_types >::_Alval

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