#include <rll/concurrency/mutex_guard.h>
template <typename T>
mutex_guard class
Constructors, destructors, conversion operators
-
mutex_guard(std::
mutex& mutex, T& ref) -
mutex_guard(std::
unique_lock<std:: mutex>&& lock, T& ref) -
mutex_guard(mutex_
guard const&) deleted -
mutex_guard(mutex_
guard&&) deleted - ~mutex_guard() defaulted
Public functions
- auto operator*() → T&
- auto operator->() → T*
-
auto operator=(mutex_
guard const&) → mutex_ guard& deleted -
auto operator=(mutex_
guard&&) → mutex_ guard& deleted