Constructs a Condition allowing arg to be implicitly convertible to the function parameter type.

Synopsis

Declared in <absl/synchronization/mutex.h>

template<
    typename T,
    typename = void>
Condition(
    bool(* func)(T*),
    T* arg);

Parameters

Name

Description

func

The predicate function to evaluate.

arg

The argument passed to func.

Created with MrDocs