std::shared_future::~shared_future

From cppreference.com
< cpplrm; | threadlrm; | shared future
Thread support library
Threads
(C++11)
this_thread namespace
(C++11)
(C++11)
(C++11)
Mutual exclusion
(C++11)
Generic lock management
(C++11)
(C++11)
(C++11)
(C++11)(C++11)(C++11)
(C++11)
(C++11)
Condition variables
(C++11)
Futures
(C++11)
(C++11)
(C++11)
(C++11)
~shared_future();
(since C++11)

If *this is the last object referring to the shared state, destroys the shared state. Otherwise does nothing.