Documentation Home

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

shared_lock();

Effects:

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

Throws:

Nothing.

Postcondition:

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

Header

#include <shared_mutex>

See Also