##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# 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.

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/thread/shared_future/%7Eshared_future&oldid=63468"