W3cubDocs

/C++

std::uniform_int_distribution<IntType>::reset

void reset();
(since C++11)

Resets the internal state of the distribution object. After a call to this function, the next call to operator() on the distribution object will not be dependent on previous calls to operator().

Parameters

(none).

Return value

(none).

Complexity

Constant.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/numeric/random/uniform_int_distribution/reset