header_utils
Loading...
Searching...
No Matches
ghassanpl::mutexlike Concept Reference

Anything that's lockable. More...

#include <threading.h>

Concept definition

template<typename T>
concept mutexlike = requires(T t)
{
{ t.lock() };
{ t.try_lock() } -> std::convertible_to<bool>;
{ t.unlock() };
}
Anything that's lockable.
Definition threading.h:20

Detailed Description

Anything that's lockable.

Definition at line 20 of file threading.h.