[#RandomMixin-01-randrange-0f] = xref:RandomMixin-01.adoc[RandomMixin]::randrange :relfileprefix: ../ :mrdocs: Generate a random integer in the range [0..range), with range > 0.] == Synopsis Declared in `<random.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<std::integral I> I randrange(I range) noexcept; ---- == Return Value A random integer in [0, range).] == Parameters [cols="1,4"] |=== | Name| Description | *range* | The exclusive upper bound; must be greater than 0. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#