std::future::valid Returns whether the future object is currently associated with a shared state. For default-constructed future objects, this function returns false (unless move-assigned a valid future ).
std::future::valid Returns whether the future object is currently associated with a shared state. For default-constructed future objects, this function returns false (unless move-assigned a valid future ).