![]() |
Home | Libraries | People | FAQ | More |
Execute the function on the target executor.
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:
execution::any_executor<> ex = ...; execution::execute(ex, my_function_object);
Throws bad_executor
if the polymorphic wrapper has no target.