diff --git a/random.hpp b/random.hpp index 4eed1ec2..9588f9c3 100644 --- a/random.hpp +++ b/random.hpp @@ -63,7 +63,8 @@ namespace cruft::random { /// Returns a value chosen uniformly at random the supplied range. /// /// This is primarily a convenience helper around the uniform_distribution - /// type. + /// type. As such, the interval is the same as the std library; ie, closed + /// for integers, half-open for reals. template decltype(auto) uniform (ValueT lo, ValueT hi, GeneratorT &&gen)