Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::shuffle_order_engine<Engine,K>::operator()

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

NotebookLM
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)

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.