Searched defs:SmartScopedWriter (Results 1 – 1 of 1) sorted by relevance
187 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable189 template <bool mt_only> struct SmartScopedWriter { struct192 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() argument196 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument