Searched defs:SmartScopedWriter (Results 1 – 3 of 3) sorted by relevance
184 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable186 template <bool mt_only> struct SmartScopedWriter { struct189 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() argument193 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument
186 using SmartScopedWriter = std::lock_guard<SmartRWMutex<mt_only>>; variable188 template <bool mt_only> struct SmartScopedWriter { struct191 explicit SmartScopedWriter(SmartRWMutex<mt_only> &m) : mutex(m) { in SmartScopedWriter() argument195 ~SmartScopedWriter() { mutex.unlock(); } in ~SmartScopedWriter() argument
162 struct SmartScopedWriter { struct165 explicit SmartScopedWriter(SmartRWMutex<mt_only>& m) : mutex(m) { in SmartScopedWriter() argument169 ~SmartScopedWriter() { in ~SmartScopedWriter() argument