Check if the asynchronous result associated with an instance of std::experimental::future
is ready, and has a stored exception.
bool has_exception() const;
this->valid()
would return true
.
true
if the asynchronous
result associated with *this
is ready
and has a stored exception, false
otherwise.
Nothing.
#include <experimental/future>