W3cubDocs

/C++

std::discard_block_engine::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

(none).

See also

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.
http://en.cppreference.com/w/cpp/numeric/random/discard_block_engine/operator()