[#absl-uniform_real_distribution-operator_call-07]
= xref:absl.adoc[absl]::xref:absl/uniform_real_distribution.adoc[uniform&lowbar;real&lowbar;distribution]::operator()
:relfileprefix: ../../
:mrdocs:

Generates a random value using the given parameter set&period;

== Synopsis

Declared in `&lt;absl&sol;random&sol;uniform&lowbar;real&lowbar;distribution&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename URBG&gt;
xref:absl/uniform_real_distribution/result_type.adoc[uniform&lowbar;real&lowbar;distribution&lt;RealType&gt;::result&lowbar;type]
operator()(
    URBG& gen,
    xref:absl/uniform_real_distribution/param_type.adoc[param&lowbar;type] const& p);
----

== Return Value

A random value in the half&hyphen;open interval &lsqb;a, b)&period;&rsqb;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *gen*
| The uniform random bit generator&period;
| *p*
| The parameter set to use for this call&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
