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