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

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

basic_system_executor::execute

Execution function.

template<
    typename Function>
void execute(
    Function && f) const;

Do not call this function directly. It is intended for use with the execution::execute customisation point.

For example:

boost::asio::system_executor ex;
execution::execute(ex, my_function_object);

PrevUpHomeNext