std::experimental::shared_future<T>::is_ready (3) - Linux Man Pages

std::experimental::shared_future<T>::is_ready: std::experimental::shared_future<T>::is_ready

NAME

std::experimental::shared_future<T>::is_ready - std::experimental::shared_future<T>::is_ready

Synopsis


bool is_ready() const;


Checks if the associated shared state is ready.
The behavior is undefined if valid() is false.

Parameters


(none)

Return value


true if the associated shared state is ready, otherwise false.

Example


 This section is incomplete
 Reason: no example

See also


      checks if the future has a shared state
valid (public member function of std::shared_future<T>)