Check if a std::shared_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>