cpp / latest / thread / shared_future / ~shared_future.html /

std::shared_future<T>::~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.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/thread/shared_future/%7Eshared_future