lock_guard::~lock_guard Destructor
Unlocks the mutex that was passed to the constructor.
~lock_guard() _NOEXCEPT;
Remarks
If the mutex does not exist when the destructor runs, the behavior is undefined.
Requirements
Header: mutex
Namespace: std