[#mp_units-uniform_int_distribution-0e-__generate-0e]
= xref:mp_units.adoc[mp&lowbar;units]::xref:mp_units/uniform_int_distribution-0e.adoc[uniform&lowbar;int&lowbar;distribution]::&lowbar;&lowbar;generate
:relfileprefix: ../../
:mrdocs:

== Synopsis

Declared in `&lt;bits&sol;uniform&lowbar;int&lowbar;dist&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename &lowbar;UniformRandomBitGenerator&gt;
void
&lowbar;&lowbar;generate(
    result&lowbar;type* &lowbar;&lowbar;f,
    result&lowbar;type* &lowbar;&lowbar;t,
    &lowbar;UniformRandomBitGenerator& &lowbar;&lowbar;urng,
    param&lowbar;type const& &lowbar;&lowbar;p);
----


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