public member function
<condition_variable>

std::condition_variable::~condition_variable

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

Any thread that was blocked on this condition shall have been notified before calling this destructor. No thread shall start a wait after this destructor is called.

Exception safety

If there are no threads blocked on this condition, it never throws exceptions (no-throw guarantee).
Otherwise, produces undefined behavior.