public member function
<condition_variable>

std::condition_variable_any::~condition_variable_any

~condition_variable_any();
Destroy condition_variable_any
Destroys the condition_variable_any 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.