absl::Condition::Condition

Constructs a Condition that evaluates object->method().

Synopsis

Declared in <absl/synchronization/mutex.h>

template<typename T>
Condition(
    T* object,
    bool(T::* method)());

Parameters

NameDescription
objectThe object on which to invoke the method.
methodThe member function to evaluate.