...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
trait detects whether
a type T satisfies the execution::executor concept.
template< typename T> struct is_executor : public integral_constant< bool, automatically_determined >
Class template
is_executor
is a UnaryTypeTrait that is derived from
true_type
if the type
T
meets the concept
definition for an executor, otherwise
false_type
.
Header:
boost/asio/execution/executor.hpp
Convenience header:
boost/asio/execution.hpp