Check if the asynchronous result associated with an instance of std::shared_future
is ready.
bool is_ready() const;
- Preconditions:
this->valid()would returntrue.- Returns:
trueif the asynchronous result associated with*thisis ready,falseotherwise.- Throws:
Nothing.
Header
#include <future>