std::seed_seq::param

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

# 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

DRApplied toBehavior as publishedCorrect behavior
LWG 2180C++11seed_seq::param is non-throwingit may throw exceptions