libcoro  1.0
Coroutine support library for C++20

◆ condition()

template<typename T , typename Pred >
coro::condition< T, Pred >::condition ( T &  var,
Pred &&  pred 
)
inline

constructor

Parameters
varshared variable
predpredicate which should return boolean if condition is fulfilled

Definition at line 205 of file condition.h.