Scroll to navigation

std::experimental::future::is_ready(3) C++ Standard Libary std::experimental::future::is_ready(3)

NAME

std::experimental::future::is_ready - std::experimental::future::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


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

2022.07.31 http://cppreference.com