std::discard_block_engine<Engine,P,R>::operator() (3) - Linux Manuals

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

NAME

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

Synopsis


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
discard (public member function)