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

Overview

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

Checks if a type is can be locked within a set time.

If Lock has a valid try_lock_for method, as described by C++'s TimedLockable named requirement, provides the member constant value equal to true. Otherwise value is false.

Inheritance diagram for pw::sync::is_lockable_for< Lock, Duration, typename >:

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