Destroys a std::lock_guard instance and unlocks
the corresponding mutex.
~lock_guard();
- Effects:
Calls
m.unlock()for the mutex instancemsupplied when*thiswas constructed.- Throws:
Nothing.
Header
#include <mutex>