|
template<typename _RandomNumberEngine1 , size_t __p1, size_t __r1, typename _CharT , typename _Traits > |
std::basic_ostream< _CharT, _Traits > & | operator<< (std::basic_ostream< _CharT, _Traits > &__os, const std::discard_block_engine< _RandomNumberEngine1, __p1, __r1 > &__x) |
|
bool | operator== (const discard_block_engine &__lhs, const discard_block_engine &__rhs) |
|
template<typename _RandomNumberEngine1 , size_t __p1, size_t __r1, typename _CharT , typename _Traits > |
std::basic_istream< _CharT, _Traits > & | operator>> (std::basic_istream< _CharT, _Traits > &__is, std::discard_block_engine< _RandomNumberEngine1, __p1, __r1 > &__x) |
|
template<typename _RandomNumberEngine, size_t __p, size_t __r>
class std::discard_block_engine< _RandomNumberEngine, __p, __r >
Produces random numbers from some base engine by discarding blocks of data.
0 <= __r
<= __p
Definition at line 887 of file random.h.
template<typename _RandomNumberEngine , size_t __p, size_t __r>
Copy constructs a discard_block_engine engine.
Copies an existing base class random number generator.
- Parameters
-
__rng | An existing (base class) engine object. |
Definition at line 919 of file random.h.
template<typename _RandomNumberEngine , size_t __p, size_t __r>
template<typename _Sseq , typename = _If_seed_seq<_Sseq>>
Generator construct a discard_block_engine engine.
- Parameters
-
Definition at line 949 of file random.h.
template<typename _RandomNumberEngine , size_t __p, size_t __r>
template<typename _RandomNumberEngine1 , size_t __p1, size_t __r1, typename _CharT , typename _Traits >
Inserts the current state of a discard_block_engine random number generator engine __x
into the output stream __os
.
- Parameters
-
__os | An output stream. |
__x | A discard_block_engine random number generator engine. |
- Returns
- The output stream with the state of
__x
inserted or in an error state.
template<typename _RandomNumberEngine , size_t __p, size_t __r>
template<typename _RandomNumberEngine1 , size_t __p1, size_t __r1, typename _CharT , typename _Traits >
Extracts the current state of a % subtract_with_carry_engine random number generator engine __x
from the input stream __is
.
- Parameters
-
__is | An input stream. |
__x | A discard_block_engine random number generator engine. |
- Returns
- The input stream with the state of
__x
extracted or in an error state.