Documentation Home >> Headers >> <mutex> Header >> std::mutex >> std::mutex Destructor

Destroys a std::mutex object.

~mutex();

Preconditions:

*this must not be locked.

Effects:

Destroys *this.

Throws:

Nothing

Header

#include <mutex>

See Also