Generates a random value using the given parameter set.

Synopsis

Declared in <absl/random/log_uniform_int_distribution.h>

template<typename URBG>
result_type
operator()(
    URBG& g,
    param_type const& p);

Return Value

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

Parameters

Name

Description

g

The uniform random bit generator.

p

The parameter set to use for this call.

Created with MrDocs