[#FastRandomContext-rand]
= xref:FastRandomContext.adoc[FastRandomContext]::rand
:relfileprefix: ../
:mrdocs:

Generate a random integer in its entire (non&hyphen;negative) range&period;

== Synopsis

Declared in `&lt;random&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;std::integral I&gt;
I
rand() noexcept;
----

== Return Value

A random value spanning the full non&hyphen;negative range of `I`&period;


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