Construct a std::unique_lock instance with no
associated mutex.
unique_lock();
- Effects:
Constructs a
std::unique_lockinstance that has no associated mutex.- Throws:
Any exceptions thrown by
m.lock().- Postcondition:
this->mutex()==NULL,this->owns_lock()==false.
Header
#include <mutex>