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
1792  : _Mybase()
1793  { // default construct
1794  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1788
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( const _Engine &  _Ex)
inlineexplicit
1797  : _Mybase(_Ex)
1798  { // construct with engine initializer _Ex
1799  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1788
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( _Engine &&  _Ex)
inlineexplicit
1802  : _Mybase(_STD forward<_Engine>(_Ex))
1803  { // construct with engine initializer _Ex
1804  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1788
template<class _Engine , size_t _Px, size_t _Rx>
discard_block_engine< _Engine, _Px, _Rx >::discard_block_engine ( result_type  _X0)
inlineexplicit
1807  : _Mybase(_X0)
1808  { // construct from specified seed value
1809  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1788
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
1814  : _Mybase(_Seq)
1815  { // construct from seed sequence
1816  }
discard_block< _Engine, _Px, _Rx > _Mybase
Definition: random:1788

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
1824  { // return maximum possible generated value
1825  return ((_Engine::max)());
1826  }
#define max(a,b)
Definition: minmax.h:14
template<class _Engine , size_t _Px, size_t _Rx>
static constexpr _Engine::result_type() discard_block_engine< _Engine, _Px, _Rx >::min ( )
inlinestatic
1819  { // return minimum possible generated value
1820  return ((_Engine::min)());
1821  }
#define min(a, b)
Definition: minmax.h:18

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