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

Destroys a std::condition_variable object.

~condition_variable();

Preconditions:

There are no threads blocked on *this in a call to wait(), wait_for() or wait_until().

Effects:

Destroys *this..

Throws:

Nothing

Header

#include <condition_variable>

See Also