Namespaces
Variants
Views
Actions

std::shared_future

From cppreference.com
< cpp‎ | thread
Revision as of 18:47, 2 November 2012 by P12bot (Talk | contribs)

Template:ddcl list begin <tr class="t-dsc-header">

<td>
Defined in header <future>
</td>

<td></td> <td></td> <tr class="t-dcl ">

<td >
template< class T > class shared_future;
</td>

<td > (1) </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
template< class T > class shared_future<T&>;
</td>

<td > (2) </td> <td > (since C++11) </td> </tr> <tr class="t-dcl ">

<td >
template<>          class shared_future<void>;
</td>

<td > (3) </td> <td > (since C++11) </td> </tr> Template:ddcl list end

Member functions

Template:cpp/thread/future/dcl list getTemplate:cpp/thread/future/dcl list validTemplate:cpp/thread/future/dcl list waitTemplate:cpp/thread/future/dcl list wait forTemplate:cpp/thread/future/dcl list wait until
constructs the future object
(public member function)
destructs the future object
(public member function)
assigns the contents
(public member function)
Getting the result
State