The class seed_seq
stores a sequence of 32-bit words for seeding a .
More...
#include <seed_seq.hpp>
Public Types | |
typedef boost::uint_least32_t | result_type |
Public Member Functions | |
seed_seq () | |
Initializes a seed_seq to hold an empty sequence. More... | |
template<class T > | |
seed_seq (const std::initializer_list< T > &il) | |
Initializes the sequence from an initializer_list. More... | |
template<class Iter > | |
seed_seq (Iter first, Iter last) | |
Initializes the sequence from an iterator range. More... | |
template<class Range > | |
seed_seq (const Range &range) | |
Initializes the sequence from Boost.Range range. More... | |
template<class Iter > | |
void | generate (Iter first, Iter last) const |
Fills a range with 32-bit values based on the stored sequence. More... | |
std::size_t | size () const |
Returns the size of the sequence. More... | |
template<class Iter > | |
void | param (Iter out) |
Writes the stored sequence to iter. More... | |
The class seed_seq
stores a sequence of 32-bit words for seeding a .
These words will be combined to fill the entire state of the generator.
typedef boost::uint_least32_t boost::random::seed_seq::result_type |
|
inline |
Initializes a seed_seq to hold an empty sequence.
|
inline |
Initializes the sequence from an initializer_list.
|
inline |
Initializes the sequence from an iterator range.
|
inlineexplicit |
Initializes the sequence from Boost.Range range.
|
inline |
Fills a range with 32-bit values based on the stored sequence.
Requires: Iter must be a Random Access Iterator whose value type is an unsigned integral type at least 32 bits wide.
References std::fill(), boost::xpressive::first, boost::accumulators::extract::max, boost::n, boost::multiprecision::backends::p, boost::asio::s, and boost::flyweights::t.
|
inline |
Writes the stored sequence to iter.
References boost::filesystem::detail::copy(), and boost::out.
|
inline |
Returns the size of the sequence.