Scroll to navigation

std::lock_guard::~lock_guard(3) C++ Standard Libary std::lock_guard::~lock_guard(3)

NAME

std::lock_guard::~lock_guard - std::lock_guard::~lock_guard

Synopsis


~lock_guard(); (since C++11)


Releases the ownership of the owned mutex.


Effectively calls m.unlock() where m is the mutex passed to the lock_guard's
constructor.

2022.07.31 http://cppreference.com