Check if the std::atomic_future instance has an
associated asynchronous result.
bool valid() const;
- Returns:
trueif*thishas an associated asynchronous result,falseotherwise.- Throws:
Nothing.
Header
#include <future>