std::discard_block_engine<Engine,P,R>::operator()
From cppreference.com
< cpp | numeric | random | discard block engine
C++
Numerics library
Common mathematical functions | ||||
Mathematical special functions (C++17) | ||||
Mathematical constants (C++20) | ||||
Floating-point environment (C++11) | ||||
Complex numbers | ||||
Numeric arrays | ||||
Pseudo-random number generation | ||||
Factor operations | ||||
(C++17) | ||||
(C++17) | ||||
Interpolations | ||||
(C++20) | ||||
(C++20) | ||||
Generic numeric operations | ||||
(C++11) | ||||
(C++23) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
(C++17) | ||||
Bit operations | ||||
(C++20) | ||||
(C++23) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) | ||||
(C++20) |
Pseudo-random number generation
Uniform random bit generators | ||||
(C++20) | ||||
Engines and engine adaptors | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
Non-deterministic generator | ||||
(C++11) | ||||
Distributions | ||||
Uniform distributions | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
Bernoulli distributions | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
Poisson distributions | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
Normal distributions | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
(C++11) | ||||
Sampling distributions | ||||
(C++11) | ||||
Seed Sequences | ||||
(C++11) | ||||
C library | ||||
std::discard_block_engine
Member functions | ||||
(C++11) | ||||
(C++11) | ||||
Generation | ||||
discard_block_engine::operator() (C++11) | ||||
Characteristics | ||||
(C++11) | ||||
(C++11) | ||||
Non-member functions | ||||
(C++11)(C++11)(until C++20) | ||||
(C++11)(C++11) |
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) |