Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::experimental::future<T>::is_ready

Checks if the associated shared state is ready.

NotebookLM
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
(public member function of std::future<T>)

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.