\hypertarget{classrandom__generator}{}\doxysection{random\+\_\+generator$<$ T $>$ Class Template Reference}
\label{classrandom__generator}\index{random\_generator$<$ T $>$@{random\_generator$<$ T $>$}}


{\ttfamily \#include $<$rnd\+\_\+generators.\+h$>$}

\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\Hypertarget{classrandom__generator_a40504d51986ae396d54c5b00f1879334}\label{classrandom__generator_a40504d51986ae396d54c5b00f1879334}} 
{\bfseries random\+\_\+generator} (T \+\_\+max, \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classrandom__generator_ad48c548783e4097f23707f7464e2425d}\label{classrandom__generator_ad48c548783e4097f23707f7464e2425d}} 
{\bfseries random\+\_\+generator} (T \+\_\+min, T \+\_\+max, \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classrandom__generator_a02b8507ab40b1c1cd7e0d078b249e7c7}\label{classrandom__generator_a02b8507ab40b1c1cd7e0d078b249e7c7}} 
T {\bfseries operator()} (void)
\item 
\mbox{\Hypertarget{classrandom__generator_a40504d51986ae396d54c5b00f1879334}\label{classrandom__generator_a40504d51986ae396d54c5b00f1879334}} 
{\bfseries random\+\_\+generator} (T \+\_\+max, \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classrandom__generator_ad48c548783e4097f23707f7464e2425d}\label{classrandom__generator_ad48c548783e4097f23707f7464e2425d}} 
{\bfseries random\+\_\+generator} (T \+\_\+min, T \+\_\+max, \mbox{\hyperlink{classeo_rng}{eo\+Rng}} \&\+\_\+rng=rng)
\item 
\mbox{\Hypertarget{classrandom__generator_a02b8507ab40b1c1cd7e0d078b249e7c7}\label{classrandom__generator_a02b8507ab40b1c1cd7e0d078b249e7c7}} 
T {\bfseries operator()} (void)
\item 
\mbox{\Hypertarget{classrandom__generator_aeb63129afff7df1cd0929ef4125ca89b}\label{classrandom__generator_aeb63129afff7df1cd0929ef4125ca89b}} 
bool \mbox{\hyperlink{classrandom__generator_aeb63129afff7df1cd0929ef4125ca89b}{operator()}} (void)
\begin{DoxyCompactList}\small\item\em Specialization for bool. \end{DoxyCompactList}\item 
\mbox{\Hypertarget{classrandom__generator_aeb63129afff7df1cd0929ef4125ca89b}\label{classrandom__generator_aeb63129afff7df1cd0929ef4125ca89b}} 
bool \mbox{\hyperlink{classrandom__generator_aeb63129afff7df1cd0929ef4125ca89b}{operator()}} (void)
\begin{DoxyCompactList}\small\item\em Specialization for bool. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$class T = uint32\+\_\+t$>$\newline
class random\+\_\+generator$<$ T $>$}

The class \mbox{\hyperlink{classrandom__generator}{random\+\_\+generator}} can be used in the S\+TL generate function to easily generate random ints either between \mbox{[}0, \+\_\+max) if only one value (\+\_\+max) is given to the ctor or in \mbox{[}\+\_\+min,\+\_\+max) if 2 values are given (\+\_\+min, \+\_\+max) 

The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
deprecated/eo/src/utils/rnd\+\_\+generators.\+h\end{DoxyCompactItemize}
