Skip to content

futures::executor_opt

Futures / Future options / executor_opt

Defined in header <futures/future_options_args.hpp>

template <class Executor> 
struct executor_opt;

Future option to identify the executor to be used by a future.

Template Parameters

  • Executor - Executor type

Description

This identifies the executor a deferred future will use to launch the task and the executor where continuations will be launched by default.

Public Types

Member Types Definition
type Executor
(using)

Public Types

using type

Defined in header <futures/future_options_args.hpp>

using type = Executor;


Updated on 2023-01-04