docs icon indicating copy to clipboard operation
docs copied to clipboard

Update index.md to wrap PRNG in std::ref for std::bind calls

Open oo01oo opened this issue 1 year ago • 0 comments

To avoid problems with the quality of randomness, it is better for the distributions to be bound with a reference to the engine rather than a copy. I expand on that in more detail in the test logs of this Kumite.

This change also adds an include for <functional>, which appears missing.

Preview

oo01oo avatar Feb 15 '24 18:02 oo01oo