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

Destroys a jss::generic_lock_guard instance and unlocks the corresponding mutex.

~generic_lock_guard();

Effects:

Calls m.unlock() for the mutex instance m supplied when *this was constructed.

Throws:

Nothing.

Header

#include <jss/guards.hpp>

See Also