Skip to content

futures::inline_executor

Executors / inline_executor

Defined in header <futures/executor/inline_executor.hpp>

class inline_executor;

An executor that runs anything inline.

Description

Although simple, it needs to meet the executor requirements:

Public Functions

Member Functions Description
(constructor) = default (function)
execute const (function template)

Public Functions

function inline_executor

Defined in header <futures/executor/inline_executor.hpp>

constexpr
inline_executor() = default;

Exception Safety

Basic exception guarantee.

function execute

Defined in header <futures/executor/inline_executor.hpp>

template <class F>
void
execute(F && f) const;

Exception Safety

Basic exception guarantee.


Updated on 2023-01-04