Renamed functions and made static
This commit is contained in:
@ -20,10 +20,10 @@ namespace sc {
|
||||
|
||||
std::default_random_engine& engine() { return _reng; }
|
||||
|
||||
bool random_bool();
|
||||
int random_int(int from, int to);
|
||||
double random_double();
|
||||
double random_double(double from, double to);
|
||||
static bool boolean();
|
||||
static int int_between(int from, int to);
|
||||
static double double01();
|
||||
static double double_between(double from, double to);
|
||||
|
||||
template <typename T>
|
||||
static T choice(const std::vector<T>& vec) {
|
||||
|
Reference in New Issue
Block a user