futures::shared_opt
Futures / Future options / shared_opt
Defined in header <futures/future_options_args.hpp>
struct shared_opt;
Future option to determine the future is shared.
Description
Shared futures refer to the same operation state. The result of the future operation is not moved from the future so that other tasks can depend on it.
Updated on 2023-01-04