absl::Condition::GuaranteedEqual

Determines whether two conditions are guaranteed to evaluate equally.

Synopsis

Declared in <absl/synchronization/mutex.h>

static
bool
GuaranteedEqual(
    Condition const* a,
    Condition const* b);

Return Value

true if both are guaranteed to return the same value, false if they may differ.

Parameters

NameDescription
aThe first condition, or null for a true condition.
bThe second condition, or null for a true condition.