...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
The execution::is_executor_of
trait detects whether
a type T satisfies the execution::executor_of concept for some set of value
arguments.
template< typename T, typename F> struct is_executor_of
Class template is_executor_of
is a type trait that is derived from true_type
if the type T
meets the concept
definition for an executor that is invocable with a function object of type
F
, otherwise false_type
.
Header: boost/asio/execution/executor.hpp
Convenience header: boost/asio/execution.hpp