public member function
<mutex>

std::mutex::~mutex

~mutex();
Destroy mutex
Destroys the mutex object.

If the object is locked on destruction, it causes undefined behavior.

异常安全

如果未锁定,则永远不会抛出异常(无抛出保证)。
否则,未定义行为