Documentation Home >> Headers >> <jss/guards.hpp> Header >> jss::lock_guard >> jss::lock_guard Destructor

Destroys a jss::lock_guard instance and unlocks the corresponding lockable objects.

~lock_guard();

Effects:

Calls m.unlock() for each of the lockable objects m supplied when *this was constructed.

Throws:

Nothing.

Header

#include <jss/guards.hpp>

See Also