Definition at line 12 of file 300-Gen-OwnGenerator.cpp.
◆ RandomIntGenerator()
RandomIntGenerator::RandomIntGenerator |
( |
int | low, |
|
|
int | high ) |
|
inline |
Definition at line 18 of file 300-Gen-OwnGenerator.cpp.
18 :
19 m_rand(std::random_device{}()),
20 m_dist(low, high)
21 {
22 static_cast<void>(
next());
23 }
◆ get()
int const & RandomIntGenerator::get |
( |
| ) |
const |
|
overridevirtual |
◆ next()
bool RandomIntGenerator::next |
( |
| ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file: