SysTutorials

Linux Manual Pages › Section 3

stdunique_lockunique_lock(3)

std::unique_lock<Mutex>::~unique_lock - std::unique_lock<Mutex>::~unique_lock

Synopsis

~unique_lock(); (since C++11) Destroys the lock. If *this has an associated mutex and has acquired ownership of it, the mutex is unlocked.