Boost C++ 库

...世界上最受推崇、设计最精良的 C++ 库项目之一。 Herb SutterAndrei Alexandrescu, C++ Coding Standards

execution::is_executor - Boost C++ 函数库
PrevUpHomeNext

名为 execution::is_executor 的 trait 用于检测类型 T 是否满足 execution::executor 概念。

template<
    typename T>
struct is_executor :
  public integral_constant< bool, automatically_determined >

类模板 is_executor 是一个 UnaryTypeTrait,如果类型 T 满足 executor 的概念定义,它就派生自 true_type,否则派生自 false_type

要求

头文件: boost/asio/execution/executor.hpp

便利头文件: `boost/asio/execution.hpp`


PrevUpHomeNext