W3cubDocs

/C++

std::discard_block_engine<Engine,P,R>::operator()

result_type operator()();
(since C++11)

Generates a random value. The state of the underlying engine is advanced one or more times.

Parameters

(none).

Return value

A pseudo-random number in [min(), max()].

Exceptions

Throws nothing.

See also

(C++11)
advances the adaptor's state by a specified amount
(public member function)

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