Constructs a Condition from a typed function pointer and argument.
Declared in <absl/synchronization/mutex.h>
template<typename T>
Condition(
bool(* func)(T*),
T* arg);
To use a lambda, prepend it with unary plus to convert it into a function pointer.
| Name | Description |
|---|---|
| func | The predicate function to evaluate. |
| arg | The argument passed to func. |