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

execution::any_executor::execute

Execute the function on the target executor.

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

Throws bad_executor if the polymorphic wrapper has no target.


PrevUpHomeNext