The documentation of std::future::valid() is ambiguous. Does one have to use std::future::wait_for(), or does std::future::valid() perform the same functionality?
I want a non-blocking way to determine if the future contains a result or not.
The documentation of std::future::valid() is ambiguous. Does one have to use std::future::wait_for(), or does std::future::valid() perform the same functionality?
I want a non-blocking way to determine if the future contains a result or not.