asio C++ library

PrevUpHomeNext

is_executor

The is_executor trait detects whether a type T meets the Executor type requirements.

template<
    typename T>
struct is_executor

Meets the UnaryTypeTrait requirements. The asio library implementation provides a definition that is derived from false_type. A program may specialise this template to derive from true_type for a user-defined type T that meets the Executor requirements.

Requirements

Header: asio/is_executor.hpp

Convenience header: asio.hpp


PrevUpHomeNext