futures::always_detached_opt
Futures / Future options / always_detached_opt
Defined in header <futures/future_options_args.hpp>
struct always_detached_opt;
Future option to determine the future is always_detached.
Description
A future with this option is considered to always be detached. The detach() function does nothing and the future will not wait for the promise to be set at destruction.
Updated on 2023-01-04