Which future object member function is used to determine if the future is associated with a valid promise?

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 ).

Sizin İçin Seçtik  How do I give camera permission in flutter?

Leave a Reply

Your email address will not be published. Required fields are marked *