Compares two parameter sets for equality.

Synopsis

Declared in <absl/random/bernoulli_distribution.h>

bool
operator==(
    param_type const& p1,
    param_type const& p2);
Note

This function is a hidden friend of param_type, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if the parameter sets are equal.

Parameters

Name

Description

p1

The first parameter set to compare.

p2

The second parameter set to compare.

Created with MrDocs