asio C++ library

PrevUpHomeNext

execution::execute

(Deprecated: Use execute member function.) 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: asio/execution/execute.hpp

Convenience header: asio/execution.hpp


PrevUpHomeNext