Login
From:
hacking C++
(Uncensored)
subscribe
Combine C++ Random Engine With Distribution | hacking C++
https://hackingcpp.com/cpp/recipe/random_number_generator.html
links
backlinks
Roast topics
Find topics
Find it!
How to make a single random number generator object from a standard library random distribution and a random engine. Two solutions are presented: one using a mutable lambda and one using a custom function class.