std::experimental::ranges::UniformRandomNumberGenerator
Defined in header <experimental/ranges/random>
|
||
|
template
<
class G >
concept bool UniformRandomNumberGenerator =
|
(ranges TS) | |
The concept UniformRandomNumberGenerator<G> specifies that G is the type of a uniform random number generator, that is, objects of type G
UniformRandomNumberGenerator<G> is satisfied only if, given any object g of type G:
G::min()andG::max()are prvalue constant expressions;G::min() < G::max()g()is in the range[G::min(), G::max()]g()has amortized constant complexity.