[#absl-bernoulli_distribution-operator_call-02] = xref:absl.adoc[absl]::xref:absl/bernoulli_distribution.adoc[bernoulli_distribution]::operator() :relfileprefix: ../../ :mrdocs: Generates a random boolean value using the given parameter set. == Synopsis Declared in `<absl/random/bernoulli_distribution.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<typename URBG> bool operator()( URBG& g, xref:absl/bernoulli_distribution/param_type.adoc[param_type] const& param); ---- == Return Value A random boolean value. == Parameters [cols="1,4"] |=== | Name| Description | *g* | The uniform random bit generator. | *param* | The parameter set to use for this call. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#