[#absl-Uniform-02] = xref:absl.adoc[absl]::Uniform :relfileprefix: ../ :mrdocs: Produces random values across the full range of an unsigned type. == Synopsis Declared in `<absl/random/distributions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< typename R, typename URBG> R Uniform(URBG&& urbg) requires !std::numeric_limits<R>::is_signed; ---- == Description Overload of `Uniform()` using the minimum and maximum values of a given type `T` (which must be unsigned), returning a value of type `unsigned T`. == Return Value A random value uniformly distributed across the range of `R`. == Parameters [cols="1,4"] |=== | Name| Description | *urbg* | The uniform random bit generator. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#