template<typename _RandomNumberEngine, size_t __w, typename _UIntType>
class std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType >
Produces random numbers by combining random numbers from some base engine to produce random numbers with a specifies number of bits __w
.
Definition at line 1074 of file random.h.
template<typename _RandomNumberEngine , size_t __w, typename _UIntType >
template<typename _Sseq , typename = typename std::enable_if<!std::is_same<_Sseq, independent_bits_engine>::value && !std::is_same<_Sseq, _RandomNumberEngine>::value> ::type>
Generator construct a independent_bits_engine engine.
- Parameters
-
Definition at line 1133 of file random.h.
template<typename _RandomNumberEngine , size_t __w, typename _UIntType >
template<typename _CharT , typename _Traits >
std::basic_istream<_CharT, _Traits>& operator>> |
( |
std::basic_istream< _CharT, _Traits > & |
__is, |
|
|
std::independent_bits_engine< _RandomNumberEngine, __w, _UIntType > & |
__x |
|
) |
| |
|
friend |
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 independent_bits_engine random number generator engine. |
- Returns
- The input stream with the state of
__x
extracted or in an error state.
Definition at line 1232 of file random.h.