[#absl-uniform_int_distribution-2constructor-0c2]
= xref:absl.adoc[absl]::xref:absl/uniform_int_distribution.adoc[uniform&lowbar;int&lowbar;distribution]::uniform&lowbar;int&lowbar;distribution
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

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

Constructs a distribution over the entire range of `result&lowbar;type`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:absl/uniform_int_distribution/2constructor-0c8.adoc[uniform&lowbar;int&lowbar;distribution]();
----

[.small]#xref:absl/uniform_int_distribution/2constructor-0c8.adoc[_» more&period;&period;&period;_]#

Constructs a distribution from the given parameter set&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/uniform_int_distribution/2constructor-06.adoc[uniform&lowbar;int&lowbar;distribution](xref:absl/uniform_int_distribution/param_type.adoc[param&lowbar;type] const& param);
----

[.small]#xref:absl/uniform_int_distribution/2constructor-06.adoc[_» more&period;&period;&period;_]#

Constructs a distribution over the closed interval &lsqb;lo, hi&rsqb;&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:absl/uniform_int_distribution/2constructor-02.adoc[uniform&lowbar;int&lowbar;distribution](
    xref:absl/uniform_int_distribution/result_type.adoc[result&lowbar;type] lo,
    xref:absl/uniform_int_distribution/result_type.adoc[result&lowbar;type] hi = (std&colon;&colon;numeric&lowbar;limits&lt;result&lowbar;type&gt;&colon;&colon;max)());
----

[.small]#xref:absl/uniform_int_distribution/2constructor-02.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *param*
| The parameter set&period;
| *lo*
| The lower bound of the closed interval&period;
| *hi*
| The upper bound of the closed interval&period;
|===


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