Destroys a std::atomic_future object.
~atomic_future();
- Effects:
Destroys
*this. If there is no longer astd::promiseorstd::packaged_taskinstance associated with the asynchronous result associated with*this, and this is the laststd::atomic_futureinstance associated with that asynchronous result, then destroy that asynchronous result.- Throws:
Nothing
Header
#include <future>