|
QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
|
Classes | |
| class | small_prng |
| From http://burtleburtle.net/bob/rand/smallprng.html, a not awful fast random number source. More... | |
Functions | |
| small_prng & | thread_local_prng () |
| A thread safe small prng seeded with the thread id. | |
| template<class RandomIt > | |
| void | random_shuffle (RandomIt first, RandomIt last, small_prng &r=thread_local_prng()) |
A random_shuffle implementation which uses the small prng. | |
|
inline |
A thread safe small prng seeded with the thread id.
| void quickcpplib::_xxx::algorithm::small_prng::random_shuffle | ( | RandomIt | first, |
| RandomIt | last, | ||
| small_prng & | r = thread_local_prng() |
||
| ) |
A random_shuffle implementation which uses the small prng.