Searched defs:SmartScopedReader (Results 1 – 1 of 1) sorted by relevance
158 using SmartScopedReader = const std::shared_lock<SmartRWMutex<mt_only>>; variable160 template <bool mt_only> struct SmartScopedReader { struct163 explicit SmartScopedReader(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedReader() argument167 ~SmartScopedReader() { mutex.unlock_shared(); } in ~SmartScopedReader() argument