std::seed_seq::param
Min standard notice:
Copies the stored seeds to the range beginning with dest. Equivalent to std::copy(v .begin(),v .end(), dest);.
# Declarations
template< class OutputIt >
void param( OutputIt dest ) const;
(since C++11)
# Parameters
dest: the beginning iterator of the output range
# Example
#include <iostream>
#include <iterator>
#include <random>
int main()
{
std::seed_seq s1 = {-1, 0, 1};
s1.param(std::ostream_iterator<int>(std::cout, " "));
}
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 2180 | C++11 | seed_seq::param is non-throwing | it may throw exceptions |