std::experimental::shared_future (3) - Linux Manuals
std::experimental::shared_future: std::experimental::shared_future
NAME
std::experimental::shared_future - std::experimental::shared_future
Synopsis
Defined in header <experimental/shared_future>
template< class T > class shared_future;       (1) (concurrency TS)
template< class T > class shared_future<T&>;   (2) (concurrency TS)
template<> class shared_future<void>;          (3) (concurrency TS)
The class template std::experimental::shared_future extends std::shared_future with the following operations:
* an unwrapping constructor from future<shared_future<T>>;
* a member function is_ready to query whether the associated shared state is ready; and
* a member function then to attach a continuation to the future.
There is no interoperation between std::experimental::shared_future and std::shared_future.
Member functions
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
constructor   (public member function)
 
is_ready      (public member function)
 
then          (public member function)
 
operator=     (public member function)
Members identical to std::shared_future
Member functions
 
destructor   (public member function of std::shared_future<T>)
Getting the result
 
get          (public member function of std::shared_future<T>)
State
 
valid        (public member function of std::shared_future<T>)
 
wait         (public member function of std::shared_future<T>)
 
wait_for     (public member function of std::shared_future<T>)
 
wait_until   (public member function of std::shared_future<T>)
Example
 This section is incomplete
 Reason: no example
See also
future           A version of std::future enhanced with continuations and other features
 
(concurrency TS)