Namespaces
Variants
Views
Actions

std::shared_future::~shared_future

From cppreference.com
< cpp‎ | thread‎ | shared future
Revision as of 19:38, 2 November 2012 by P12bot (Talk | contribs)

 
 
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.