Share via


seed_seq::seed_seq

Constructs an object of type seed_seq.

seed_seq();
template<class InputIterator>
    seed_seq(InputIterator first, InputIterator last);

Parameters

  • first
    An input iterator addressing the position of the first element in the source range.

  • last
    An input iterator addressing the position of the last element in the source range.

Remarks

The first constructor initializes vec to an empty vector.

The second constructor initializes vec with a sequence of elements in [first, last), each reduced modulo 2^32.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

seed_seq Class