Destroys a std::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 <future>