Namespaces
Variants
Views
Actions

std::experimental::future::is_ready

From cppreference.com
< cpp‎ | experimental‎ | future
bool is_ready() const;

Checks if the associated shared state is ready.

The behavior is undefined if valid() is false.

Contents

[edit] Parameters

(none)

[edit] Return value

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

[edit] Example

[edit] See also

checks if the future has a shared state
(public member function of std::future) [edit]