execution::is_executor
特性检测类型 T 是否满足 execution::executor 概念。
template< typename T> struct is_executor : public integral_constant< bool, automatically_determined >
类模板 is_executor
是一个 UnaryTypeTrait,如果类型 T
满足执行器的概念定义,则它派生自 true_type
,否则派生自 false_type
。
头文件: boost/asio/execution/executor.hpp
便捷头文件: boost/asio/execution.hpp