unique_lock::~unique_lock Destructor
Releases any resources that are associated with the unique_lock object.
~unique_lock() _NOEXCEPT;
Remarks
If the calling thread owns the associated mutex, the destructor releases ownership by calling unlock on the mutex object.
Requirements
Header: mutex
Namespace: std