Documentation Home >> Headers >> <mutex> Header >> std::unique_lock >> std::unique_lock Default Constructor

Construct a std::unique_lock instance with no associated mutex.

unique_lock();

Effects:

Constructs a std::unique_lock instance that has no associated mutex.

Throws:

Nothing.

Postcondition:

this->mutex()==NULL, this->owns_lock()==false.

Header

#include <mutex>

See Also