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