##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::ranges::UniformRandomNumberGenerator

From cppreference.com
< cpp‎ | experimental‎ | ranges

Defined in header `<experimental/ranges/random>` |  |
template <class G> concept bool UniformRandomNumberGenerator() { return requires(G g) { { g() } -> ranges::UnsignedIntegral; /* not required to be equality preserving */ { G::min() } -> ranges::Same<std::result_of_t<G&()>>; { G::max() } -> ranges::Same<std::result_of_t<G&()>>; }; } |  | (ranges TS)

| This section is incomplete Reason: add description and extra caveats

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/ranges/concepts/UniformRandomNumberGenerator&oldid=89677"
Category:

- Todo with reason