Class ProofOfMutexLock¶
Defined in File proof_of_mutex_lock.h
Class Documentation¶
-
class ProofOfMutexLock¶
A method can take an instance of this class by reference to require callers to hold a mutex lock, without requiring a specific type of lock.
Public Functions
-
inline ProofOfMutexLock(std::lock_guard<std::mutex> const&)¶
-
inline ProofOfMutexLock(std::unique_lock<std::mutex> const &lock)¶
-
ProofOfMutexLock(ProofOfMutexLock const&) = delete¶
-
ProofOfMutexLock operator=(ProofOfMutexLock const&) = delete¶
-
inline ProofOfMutexLock(std::lock_guard<std::mutex> const&)¶