Abstract base class for all asio::ExecutionPolicy derivatives.
It defines an interface to execute a given callable in a way defined by the implementation of this interface.
Synopsis:
{
public:
void execute(std::function<
void()>
callable)
override
{
std::this_thread::sleep_for(std::chrono::milliseconds(100));
}
}
Abstract base class for all asio::ExecutionPolicy derivatives.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
See also asio::AsynchronousExecution and asio::SynchronousExecution for implementations.
Definition at line 34 of file ExecutionPolicy.h.