Constructs a distribution over the closed interval [lo, hi].
Synopsis
Declared in <absl/random/uniform_int_distribution.h>
explicit
uniform_int_distribution(
result_type lo,
result_type hi = (std::numeric_limits<result_type>::max)());
Parameters
Name |
Description |
lo |
The lower bound of the closed interval. |
hi |
The upper bound of the closed interval. |
Created with MrDocs