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 _Vectype::_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 _Vectype::_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
2333  : _Myvec(_Nw(_Count), (_Vbase) (_Val ? -1 : 0))
2334  { // construct _Count * _Val elements
2335  _Alloc_proxy();
2336  _Mysize = 0;
2337  }
unsigned int _Count
Definition: xcomplex:668
unsigned int _Vbase
Definition: vector:1861
_Alty::size_type _Mysize
Definition: vector:2417
_In_ int _Val
Definition: vcruntime_string.h:62
void _Alloc_proxy()
Definition: vector:2382
static size_type _Nw(size_type _Count)
Definition: vector:2411
_Vectype _Myvec
Definition: vector:2416
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( size_type  _Count,
const bool _Val,
const _Alloc &  _Al 
)
inline
2340  : _Myvec(_Nw(_Count), (_Vbase)(_Val ? -1 : 0), _Al)
2341  { // construct _Count * _Val elements with allocator _Al
2342  _Alloc_proxy();
2343  _Mysize = 0;
2344  }
unsigned int _Count
Definition: xcomplex:668
unsigned int _Vbase
Definition: vector:1861
_Alty::size_type _Mysize
Definition: vector:2417
_In_ int _Val
Definition: vcruntime_string.h:62
void _Alloc_proxy()
Definition: vector:2382
static size_type _Nw(size_type _Count)
Definition: vector:2411
_Vectype _Myvec
Definition: vector:2416
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( const _Vb_val< _Alloc > &  _Right)
inline
2347  : _Myvec(_Right._Myvec),
2348  _Mysize(_Right._Mysize)
2349  { // copy construct
2350  _Alloc_proxy();
2351  }
_Alty::size_type _Mysize
Definition: vector:2417
void _Alloc_proxy()
Definition: vector:2382
_Vectype _Myvec
Definition: vector:2416
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( const _Vb_val< _Alloc > &  _Right,
const _Alloc &  _Al 
)
inline
2354  : _Myvec(_Right._Myvec, _Al),
2355  _Mysize(_Right._Mysize)
2356  { // copy construct, allocator
2357  _Alloc_proxy();
2358  }
_Alty::size_type _Mysize
Definition: vector:2417
void _Alloc_proxy()
Definition: vector:2382
_Vectype _Myvec
Definition: vector:2416
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( _Vb_val< _Alloc > &&  _Right)
inline
2361  : _Myvec(_STD forward<_Vectype>(_Right._Myvec)),
2362  _Mysize(_Right._Mysize)
2363  { // move construct
2364  _Right._Mysize = 0;
2365  _Alloc_proxy();
2366  }
_Alty::size_type _Mysize
Definition: vector:2417
void _Alloc_proxy()
Definition: vector:2382
_Vectype _Myvec
Definition: vector:2416
template<class _Alloc >
_Vb_val< _Alloc >::_Vb_val ( _Vb_val< _Alloc > &&  _Right,
const _Alloc &  _Al 
)
inline
2369  : _Myvec(_STD forward<_Vectype>(_Right._Myvec), _Al),
2370  _Mysize(_Right._Mysize)
2371  { // move construct, allocator
2372  _Right._Mysize = 0;
2373  _Alloc_proxy();
2374  }
_Alty::size_type _Mysize
Definition: vector:2417
void _Alloc_proxy()
Definition: vector:2382
_Vectype _Myvec
Definition: vector:2416
template<class _Alloc >
_Vb_val< _Alloc >::~_Vb_val ( )
inline
2377  { // destroy proxy
2378  _Free_proxy();
2379  }
void _Free_proxy()
Definition: vector:2386

Member Function Documentation

template<class _Alloc >
void _Vb_val< _Alloc >::_Alloc_proxy ( )
inline
2383  { // do nothing
2384  }
template<class _Alloc >
void _Vb_val< _Alloc >::_Free_proxy ( )
inline
2387  { // do nothing
2388  }
template<class _Alloc >
static size_type _Vb_val< _Alloc >::_Nw ( size_type  _Count)
inlinestatic
2412  { // return number of base words from number of bits
2413  return ((_Count + _VBITS - 1) / _VBITS);
2414  }
unsigned int _Count
Definition: xcomplex:668
const int _VBITS
Definition: vector:1862

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: