[#absl-uniform_int_distribution-operator_call-0a] = xref:absl.adoc[absl]::xref:absl/uniform_int_distribution.adoc[uniform_int_distribution]::operator() :relfileprefix: ../../ :mrdocs: Generates a random value using the given parameter set. == 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, xref:absl/uniform_int_distribution/param_type.adoc[param_type] const& param); ---- == Return Value A random value in the closed interval [a, b]. == Parameters [cols="1,4"] |=== | Name| Description | *gen* | The uniform random bit generator. | *param* | The parameter set to use for this call. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#