![]() |
Low-Level Abstraction of Memory Access
|
Locks a mutex during each access to the data structure. More...
#include <Accessors.hpp>
Classes | |
struct | Reference |
Public Member Functions | |
template<typename PR > | |
auto | operator() (PR r) const -> Reference< PR, typename PR::value_type > |
template<typename T > | |
auto | operator() (T &r) const -> Reference< T &, std::remove_cv_t< T >> |
Public Attributes | |
std::unique_ptr< Mutex > | m = std::make_unique<Mutex>() |
Locks a mutex during each access to the data structure.
Definition at line 125 of file Accessors.hpp.
|
inline |
Definition at line 164 of file Accessors.hpp.
|
inline |
Definition at line 170 of file Accessors.hpp.
std::unique_ptr<Mutex> llama::accessor::Locked< Mutex >::m = std::make_unique<Mutex>() |
Definition at line 128 of file Accessors.hpp.