[#absl-uniform_int_distribution-operator_call-0f6] = xref:absl.adoc[absl]::xref:absl/uniform_int_distribution.adoc[uniform_int_distribution]::operator() :relfileprefix: ../../ :mrdocs: Generates a random value in the interval [a, b]. == Synopsis Declared in `<absl/random/uniform_int_distribution.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename URBG> xref:absl/uniform_int_distribution/result_type.adoc[result_type] operator()(URBG& gen); ---- == Return Value A random value in the closed interval [a, b]. == Parameters [cols="1,4"] |=== | Name| Description | *gen* | The uniform random bit generator. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#