BoosterSeat  0.1
A C++ library that includes common utilities that are used in other projects.
random.hpp
Go to the documentation of this file.
1 
9 #ifndef RANDOM_HPP_
10 #define RANDOM_HPP_
11 
12 #include <random>
13 
14 namespace bst {
15 
21 std::string randomHexString(size_t length);
22 
29 double randomDouble(double min, double max);
30 
31 } // namespace bst
32 
33 #endif // RANDOM_HPP_
Definition: filesystem.cpp:34
std::string randomHexString(size_t length)
Generates a random hex string of the given length.
Definition: random.cpp:13
double randomDouble(double min, double max)
Generates a random double within the given range.
Definition: random.cpp:25