##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::unique_lock::~unique_lock

From cppreference.com
< cpp‎ | thread‎ | unique lock

~unique_lock(); |  | (since C++11)

Destroys the lock. If *this has an associated mutex and has acquired ownership of it, the mutex is unlocked.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/thread/unique_lock/%7Eunique_lock&oldid=62999"