Template Class InverseUniqueLock

Class Documentation

template<typename MUTEX>
class InverseUniqueLock

The Like std::unique_lock, but unlocking a mutex on construction and locking on destruction.

Public Functions

inline explicit InverseUniqueLock(MUTEX *mutex)
InverseUniqueLock(InverseUniqueLock &other) = delete
InverseUniqueLock &operator=(const InverseUniqueLock &other) = delete
inline InverseUniqueLock(InverseUniqueLock &&other) noexcept
InverseUniqueLock const &operator=(InverseUniqueLock &&fp) = delete
inline ~InverseUniqueLock()