SysTutorials

Linux Manual Pages › Section 3

stddiscrete_distributionreset(3)

std::discrete_distribution<IntType>::reset - std::discrete_distribution<IntType>::reset

Synopsis

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.