std::shared_future::~shared_future
From cppreference.com
< cpp | thread | shared future
~shared_future(); |
(since C++11) | |
If *this is the last object referring to the shared state, destroys the shared state. Otherwise does nothing.