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