![]() |
boost::taar::context_store::lock_guard — Releases an entry's lock (and refreshes its activity) on destruction.
// In header: <boost/taar/core/context_store.hpp> // Releases an entry's lock (and refreshes its activity) on destruction. class lock_guard { public: // public member functions lock_guard() = default; lock_guard(lock_guard const &) = delete; lock_guard & operator=(lock_guard const &) = delete; lock_guard(lock_guard &&) noexcept; lock_guard & operator=(lock_guard &&) noexcept; ~lock_guard(); entry_ptr const & get() const noexcept; explicit operator bool() const noexcept; };
lock_guard public member functionslock_guard() = default;
lock_guard(lock_guard const &) = delete;
lock_guard & operator=(lock_guard const &) = delete;
lock_guard(lock_guard && other) noexcept;
lock_guard & operator=(lock_guard && other) noexcept;
~lock_guard();
entry_ptr const & get() const noexcept;
explicit operator bool() const noexcept;