Boost C++ 库

...世界上最受推崇和设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ 编码标准

PrevUpHomeNext

execution::is_executor

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


PrevUpHomeNext