absl::log_uniform_int_distribution::operator()

Generates a random value in the interval [min, max].

Synopsis

Declared in <absl/random/log_uniform_int_distribution.h>

template<typename URBG>
result_type
operator()(URBG& g);

Return Value

A random value in the closed interval [min, max].

Parameters

NameDescription
gThe uniform random bit generator.