C/C++ API Reference
Loading...
Searching...
No Matches
pw::sync::is_lockable< Lock, typename > Struct Template Reference

Overview

template<typename Lock, typename = void>
struct pw::sync::is_lockable< Lock, typename >

Checks if a type is a lock.

If Lock satisfies C++'s Lockable named requirement, provides the member constant value equal to true. Otherwise value is false.

Inheritance diagram for pw::sync::is_lockable< Lock, typename >:
pw::sync::is_lockable_for< Lock, Duration, std::void_t< decltype(std::declval< Lock >().try_lock_for(std::declval< Duration >()))> > pw::sync::is_lockable_until< Lock, TimePoint, std::void_t< decltype(std::declval< Lock >().try_lock_until(std::declval< TimePoint >()))> >

The documentation for this struct was generated from the following file: