Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

PrevUpHomeNext

execution::execute

A customisation point that executes a function on an executor.

constexpr unspecified execute = unspecified;

The name execution::execute denotes a customisation point object.

For some subexpressions e and f, let E be a type such that decltype((e)) is E and let F be a type such that decltype((f)) is F. The expression execution::execute(e, f) is ill-formed if F does not model invocable, or if E does not model either executor or sender. Otherwise, it is expression-equivalent to:

Requirements

Header: boost/asio/execution/execute.hpp

Convenience header: boost/asio/execution.hpp


PrevUpHomeNext