Documentation Home >> Headers >> <jss/experimental_future.hpp> Header >> std::experimental::future >> std::experimental::future Destructor

Destroys a std::experimental::future object.

~future();

Effects:

Destroys *this. If this is the last reference to the asynchronous result associated with *this (if any), then destroy that asynchronous result.

Throws:

Nothing

Header

#include <experimental/future>

See Also