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

Destroys a std::exception_ptr object.

~exception_ptr();

Effects:

Destroys *this. If this is the last std::exception_ptr instance referencing the stored exception, destroy the stored exception.

Throws:

Nothing

Header

#include <exception_ptr>

See Also