Function call operators
Declared in <absl/random/bernoulli_distribution.h>
Generates a random boolean value.
template<typename URBG>
bool
operator()(URBG& g);
» more...
Generates a random boolean value using the given parameter set.
template<typename URBG>
bool
operator()(
URBG& g,
param_type const& param);
» more...
A random boolean value.
| Name | Description |
|---|---|
| g | The uniform random bit generator. |
| param | The parameter set to use for this call. |