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 _STD vector< _Vbase, _Alloc > _Vectype
 
typedef _Vectype::_Alty _Alty
 
typedef _Alty::size_type size_type
 

Public Member Functions

 _Vb_val (size_type _Count, const bool &_Val, const _Alloc &_Al=_Alloc())
 
 _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 _Swap_alloc (_Vb_val &)
 
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 _Vectype::_Alty _Vb_val< _Alloc >::_Alty
template<class _Alloc >
typedef _STD 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,
const _Alloc &  _Al = _Alloc() 
)
inline
2321  : _Myvec(_Nw(_Count), (_Vbase)(_Val ? -1 : 0), _Al)
2322  { // construct _Count * _Val elements with allocator _Al
2323  _Alloc_proxy();
2324  _Mysize = 0;
2325  }
unsigned int _Vbase
Definition: vector:1847
_Alty::size_type _Mysize
Definition: vector:2407
void _Alloc_proxy()
Definition: vector:2367
static size_type _Nw(size_type _Count)
Definition: vector:2401
_Vectype _Myvec
Definition: vector:2406
_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
2328  : _Myvec(_Right._Myvec),
2329  _Mysize(_Right._Mysize)
2330  { // copy construct
2331  _Alloc_proxy();
2332  }
_Alty::size_type _Mysize
Definition: vector:2407
void _Alloc_proxy()
Definition: vector:2367
_Vectype _Myvec
Definition: vector:2406
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( const _Vb_val< _Alloc > &  _Right,
const _Alloc &  _Al 
)
inline
2335  : _Myvec(_Right._Myvec, _Al),
2336  _Mysize(_Right._Mysize)
2337  { // copy construct, allocator
2338  _Alloc_proxy();
2339  }
_Alty::size_type _Mysize
Definition: vector:2407
void _Alloc_proxy()
Definition: vector:2367
_Vectype _Myvec
Definition: vector:2406
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( _Vb_val< _Alloc > &&  _Right)
inline
2342  : _Myvec(_STD forward<_Vectype>(_Right._Myvec)),
2343  _Mysize(_Right._Mysize)
2344  { // move construct
2345  _Right._Mysize = 0;
2346  _Alloc_proxy();
2347  }
_Alty::size_type _Mysize
Definition: vector:2407
void _Alloc_proxy()
Definition: vector:2367
_Vectype _Myvec
Definition: vector:2406
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( _Vb_val< _Alloc > &&  _Right,
const _Alloc &  _Al 
)
inline
2350  : _Myvec(_STD forward<_Vectype>(_Right._Myvec), _Al),
2351  _Mysize(_Right._Mysize)
2352  { // move construct, allocator
2353  _Right._Mysize = 0;
2354  _Alloc_proxy();
2355  }
_Alty::size_type _Mysize
Definition: vector:2407
void _Alloc_proxy()
Definition: vector:2367
_Vectype _Myvec
Definition: vector:2406
template<class _Alloc >
_Vb_val< _Alloc >::~_Vb_val ( )
inline
2358  { // destroy proxy
2359  _Free_proxy();
2360  }
void _Free_proxy()
Definition: vector:2371

Member Function Documentation

template<class _Alloc >
void _Vb_val< _Alloc >::_Alloc_proxy ( )
inline
2368  { // do nothing
2369  }
template<class _Alloc >
void _Vb_val< _Alloc >::_Free_proxy ( )
inline
2372  { // do nothing
2373  }
template<class _Alloc >
static size_type _Vb_val< _Alloc >::_Nw ( size_type  _Count)
inlinestatic
2402  { // return number of base words from number of bits
2403  return ((_Count + _VBITS - 1) / _VBITS);
2404  }
_Diff _Count
Definition: algorithm:1941
const int _VBITS
Definition: vector:1848
template<class _Alloc >
void _Vb_val< _Alloc >::_Swap_alloc ( _Vb_val< _Alloc > &  )
inline
2364  { // do nothing
2365  }

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: