Typedefs | |
template<bool kEnableLocking, typename LockType > | |
using | MaybeLock = std::conditional_t< kEnableLocking, LockType, NoLock > |
Variables | |
template<typename Lock > | |
constexpr bool | is_basic_lockable_v = is_basic_lockable<Lock>::value |
Helper variable template for is_basic_lockable<Lock>::value . | |
template<typename Lock > | |
constexpr bool | is_lockable_v = is_lockable<Lock>::value |
Helper variable template for is_lockable<Lock>::value . | |
template<typename Lock , typename Duration > | |
constexpr bool | is_lockable_for_v |
Helper variable template for is_lockable_for<Lock, Duration>::value . | |
template<typename Lock , typename TimePoint > | |
constexpr bool | is_lockable_until_v |
Helper variable template for is_lockable_until<Lock, TimePoint>::value . | |
template<typename Lock , typename Clock > | |
constexpr bool | is_timed_lockable_v |
Helper variable template for is_timed_lockable<Lock, Clock>::value . | |
This file provide trait types that can be used to check C++ lock-related named requirements: BasicLockable, Lockable, and TimedLockable.