STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Static Public Member Functions | List of all members
discard_block_engine< _Engine, _Px, _Rx > Class Template Reference
Inheritance diagram for discard_block_engine< _Engine, _Px, _Rx >:
discard_block< _Engine, _Px, _Rx >

Public Types

typedef discard_block_engine< _Engine, _Px, _Rx > _Myt
 
typedef discard_block< _Engine, _Px, _Rx > _Mybase
 
typedef _Engine::result_type result_type
 
- Public Types inherited from discard_block< _Engine, _Px, _Rx >
typedef discard_block< _Engine, _Px, _Rx > _Myt
 
typedef _Engine base_type
 
typedef _Engine::result_type result_type
 

Public Member Functions

 discard_block_engine ()
 
 discard_block_engine (const _Engine &_Ex)
 
 discard_block_engine (_Engine &&_Ex)
 
 discard_block_engine (result_type _X0)
 
template<class _Seed_seq , class = typename _Enable_if_seed_seq<_Seed_seq, _Myt, _Engine>::type>
 discard_block_engine (_Seed_seq &_Seq)
 
- Public Member Functions inherited from discard_block< _Engine, _Px, _Rx >
 discard_block ()
 
 discard_block (const _Engine &_Ex)
 
 discard_block (result_type _Seed)
 
template<class _Seed_seq , class = typename _Enable_if_seed_seq<_Seed_seq, _Myt, _Engine>::type>
 discard_block (_Seed_seq &_Seq)
 
void seed ()
 
void seed (result_type _X0)
 
template<class _Seed_seq , class = typename _Enable_if_seed_seq<_Seed_seq, _Myt>::type>
void seed (_Seed_seq &_Seq)
 
const base_typebase () const _NOEXCEPT
 
result_type() min () const
 
result_type() max () const
 
result_type operator() ()
 
void discard (unsigned long long _Nskip)
 
bool _Equals (const _Myt &_Right) const
 
template<class _Elem , class _Traits >
basic_istream< _Elem, _Traits > & _Read (basic_istream< _Elem, _Traits > &_Istr)
 
template<class _Elem , class _Traits >
basic_ostream< _Elem, _Traits > & _Write (basic_ostream< _Elem, _Traits > &_Ostr) const
 

Static Public Member Functions

static constexpr _Engine::result_type() min ()
 
static constexpr _Engine::result_type() max ()
 

Additional Inherited Members

- Static Public Attributes inherited from discard_block< _Engine, _Px, _Rx >
static constexpr int block_size = _Px
 
static constexpr int used_block = _Rx
 

Member Typedef Documentation

template<class _Engine , size_t _Px, size_t _Rx>
typedef discard_block<_Engine, _Px, _Rx> discard_block_engine< _Engine, _Px, _Rx >::_Mybase
template<class _Engine , size_t _Px, size_t _Rx>
typedef discard_block_engine<_Engine, _Px, _Rx> discard_block_engine< _Engine, _Px, _Rx >::_Myt
template<class _Engine , size_t _Px, size_t _Rx>
typedef _Engine::result_type discard_block_engine< _Engine, _Px, _Rx >::result_type

Constructor & Destructor Documentation

template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( )
inline
1759  : _Mybase()
1760  { // default construct
1761  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1755
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( const _Engine &  _Ex)
inlineexplicit
1764  : _Mybase(_Ex)
1765  { // construct with engine initializer _Ex
1766  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1755
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( _Engine &&  _Ex)
inlineexplicit
1769  : _Mybase(_STD forward<_Engine>(_Ex))
1770  { // construct with engine initializer _Ex
1771  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1755
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( result_type  _X0)
inlineexplicit
1774  : _Mybase(_X0)
1775  { // construct from specified seed value
1776  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1755
template<class _Engine , size_t _Px, size_t _Rx>
template<class _Seed_seq , class = typename _Enable_if_seed_seq<_Seed_seq, _Myt, _Engine>::type>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( _Seed_seq &  _Seq)
inlineexplicit
1781  : _Mybase(_Seq)
1782  { // construct from seed sequence
1783  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1755

Member Function Documentation

template<class _Engine , size_t _Px, size_t _Rx>
static constexpr _Engine::result_type() discard_block_engine< _Engine, _Px, _Rx >::max ( )
inlinestatic
1791  { // return maximum possible generated value
1792  return ((_Engine::max)());
1793  }
constexpr const _Ty &() max(const _Ty &_Left, const _Ty &_Right, _Pr _Pred) _NOEXCEPT_OP(_NOEXCEPT_OP(_DEBUG_LT_PRED(_Pred
template<class _Engine , size_t _Px, size_t _Rx>
static constexpr _Engine::result_type() discard_block_engine< _Engine, _Px, _Rx >::min ( )
inlinestatic
1786  { // return minimum possible generated value
1787  return ((_Engine::min)());
1788  }
constexpr const _Ty &() min(const _Ty &_Left, const _Ty &_Right, _Pr _Pred) _NOEXCEPT_OP(_NOEXCEPT_OP(_DEBUG_LT_PRED(_Pred

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