STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
_Vb_val< _Alloc > Class Template Reference
Inheritance diagram for _Vb_val< _Alloc >:
_Container_base0 vector< bool, _Alloc >

Public Types

typedef vector< _Vbase, _Alloc > _Vectype
 
typedef _Vector_alloc< _Vec_base_types< _Vbase, _Alloc > >::_Alty _Alty
 
typedef _Alty::size_type size_type
 

Public Member Functions

 _Vb_val (size_type _Count, const bool &_Val)
 
 _Vb_val (size_type _Count, const bool &_Val, const _Alloc &_Al)
 
 _Vb_val (const _Vb_val &_Right)
 
 _Vb_val (const _Vb_val &_Right, const _Alloc &_Al)
 
 _Vb_val (_Vb_val &&_Right)
 
 _Vb_val (_Vb_val &&_Right, const _Alloc &_Al)
 
 ~_Vb_val () _NOEXCEPT
 
void _Alloc_proxy ()
 
void _Free_proxy ()
 
- Public Member Functions inherited from _Container_base0
void _Orphan_all ()
 
void _Swap_all (_Container_base0 &)
 

Static Public Member Functions

static size_type _Nw (size_type _Count)
 

Public Attributes

_Vectype _Myvec
 
_Alty::size_type _Mysize
 

Member Typedef Documentation

template<class _Alloc >
typedef _Vector_alloc<_Vec_base_types<_Vbase, _Alloc> >::_Alty _Vb_val< _Alloc >::_Alty
template<class _Alloc >
typedef vector<_Vbase, _Alloc> _Vb_val< _Alloc >::_Vectype
template<class _Alloc >
typedef _Alty::size_type _Vb_val< _Alloc >::size_type

Constructor & Destructor Documentation

template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( size_type  _Count,
const bool _Val 
)
inline
2533  : _Myvec(_Nw(_Count), (_Vbase) (_Val ? -1 : 0))
2534  { // construct _Count * _Val elements
2535  _Alloc_proxy();
2536  _Mysize = 0;
2537  }
unsigned int _Vbase
Definition: vector:2062
_Alty::size_type _Mysize
Definition: vector:2617
void _Alloc_proxy()
Definition: vector:2582
static size_type _Nw(size_type _Count)
Definition: vector:2611
_Vectype _Myvec
Definition: vector:2616
_Diff _Count
Definition: algorithm:1941
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( size_type  _Count,
const bool _Val,
const _Alloc &  _Al 
)
inline
2540  : _Myvec(_Nw(_Count), (_Vbase)(_Val ? -1 : 0), _Al)
2541  { // construct _Count * _Val elements with allocator _Al
2542  _Alloc_proxy();
2543  _Mysize = 0;
2544  }
unsigned int _Vbase
Definition: vector:2062
_Alty::size_type _Mysize
Definition: vector:2617
void _Alloc_proxy()
Definition: vector:2582
static size_type _Nw(size_type _Count)
Definition: vector:2611
_Vectype _Myvec
Definition: vector:2616
_Diff _Count
Definition: algorithm:1941
_FwdIt const _Ty _Val
Definition: algorithm:1938
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( const _Vb_val< _Alloc > &  _Right)
inline
2547  : _Myvec(_Right._Myvec),
2548  _Mysize(_Right._Mysize)
2549  { // copy construct
2550  _Alloc_proxy();
2551  }
_Alty::size_type _Mysize
Definition: vector:2617
void _Alloc_proxy()
Definition: vector:2582
_Vectype _Myvec
Definition: vector:2616
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( const _Vb_val< _Alloc > &  _Right,
const _Alloc &  _Al 
)
inline
2554  : _Myvec(_Right._Myvec, _Al),
2555  _Mysize(_Right._Mysize)
2556  { // copy construct, allocator
2557  _Alloc_proxy();
2558  }
_Alty::size_type _Mysize
Definition: vector:2617
void _Alloc_proxy()
Definition: vector:2582
_Vectype _Myvec
Definition: vector:2616
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( _Vb_val< _Alloc > &&  _Right)
inline
2561  : _Myvec(_STD forward<_Vectype>(_Right._Myvec)),
2562  _Mysize(_Right._Mysize)
2563  { // move construct
2564  _Right._Mysize = 0;
2565  _Alloc_proxy();
2566  }
_Alty::size_type _Mysize
Definition: vector:2617
void _Alloc_proxy()
Definition: vector:2582
_Vectype _Myvec
Definition: vector:2616
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( _Vb_val< _Alloc > &&  _Right,
const _Alloc &  _Al 
)
inline
2569  : _Myvec(_STD forward<_Vectype>(_Right._Myvec), _Al),
2570  _Mysize(_Right._Mysize)
2571  { // move construct, allocator
2572  _Right._Mysize = 0;
2573  _Alloc_proxy();
2574  }
_Alty::size_type _Mysize
Definition: vector:2617
void _Alloc_proxy()
Definition: vector:2582
_Vectype _Myvec
Definition: vector:2616
template<class _Alloc >
_Vb_val< _Alloc >::~_Vb_val ( )
inline
2577  { // destroy proxy
2578  _Free_proxy();
2579  }
void _Free_proxy()
Definition: vector:2586

Member Function Documentation

template<class _Alloc >
void _Vb_val< _Alloc >::_Alloc_proxy ( )
inline
2583  { // do nothing
2584  }
template<class _Alloc >
void _Vb_val< _Alloc >::_Free_proxy ( )
inline
2587  { // do nothing
2588  }
template<class _Alloc >
static size_type _Vb_val< _Alloc >::_Nw ( size_type  _Count)
inlinestatic
2612  { // return number of base words from number of bits
2613  return ((_Count + _VBITS - 1) / _VBITS);
2614  }
_Diff _Count
Definition: algorithm:1941
const int _VBITS
Definition: vector:2063

Member Data Documentation

template<class _Alloc >
_Alty::size_type _Vb_val< _Alloc >::_Mysize
template<class _Alloc >
_Vectype _Vb_val< _Alloc >::_Myvec

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