std::experimental::shared_future::is_ready - cppreference.com

##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::experimental::shared_future::is_ready

From cppreference.com
< cpp‎ | experimental‎ | shared future

[edit template]

bool is_ready() const; |  |

Checks if the associated shared state is ready.

The behavior is undefined if valid() is false.

### [edit] Parameters

(none)

### [edit] Return value

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

### [edit] Example

| This section is incomplete Reason: no example

### [edit] See also

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

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/shared_future/is_ready&oldid=85476"
Category:

- Todo no example