Template Function concore::v1::execute

Function Documentation

template<typename Executor, typename Ftor>
void concore::v1::execute(Executor &&e, Ftor &&f)

Customization point object that can be used to execute work on executors.

This will tell the executor object to invoke the given functor, according to the rules defined in the executor.

Parameters
  • e: The executor object we are using for our execution

  • f: The functor to be invoked

The Executor type should model concept executor_of<Ftor>.

See

executor_of