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