Skip to main content
Pigweed's logo Pigweed
  1. Home
  2. Reference
  3. C/C++
  4. pw_sync
  5. pw::sync::is_lockable_until< Lock, TimePoint, typename > Struct Template Reference
Loading...
Searching...
No Matches
pw::sync::is_lockable_until< Lock, TimePoint, typename > Struct Template Reference

Overview

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

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

If Lock has a valid try_lock_until 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_until< Lock, TimePoint, typename >:

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