is_executor
特性(trait)检测类型 T 是否满足 Executor 类型要求。
template< typename T> struct is_executor : public integral_constant< bool, automatically_determined >
类模板 is_executor
是一个 UnaryTypeTrait,如果类型 T
满足 Executor 的语法要求,则派生自 true_type
,否则派生自 false_type
。
头文件: boost/asio/is_executor.hpp
便捷头文件: boost/asio.hpp