absl::operator==

Compares two distributions for equality.

Synopsis

Declared in <absl/random/bernoulli_distribution.h>

bool
operator==(
    bernoulli_distribution const& d1,
    bernoulli_distribution const& d2);

Return Value

true if the distributions have equal parameter sets.

Parameters

NameDescription
d1The first distribution to compare.
d2The second distribution to compare.