5 // Copyright (c) 2003-2020 Christopher M. Kohlhoff (chris at kohlhoff dot com)
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 #ifndef BOOST_ASIO_IS_EXECUTOR_HPP
12 #define BOOST_ASIO_IS_EXECUTOR_HPP
14 #if defined(_MSC_VER) && (_MSC_VER >= 1200)
16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200)
18 #include <boost/asio/detail/config.hpp>
19 #include <boost/asio/detail/is_executor.hpp>
21 #include <boost/asio/detail/push_options.hpp>
26 /// The is_executor trait detects whether a type T meets the Executor type
29 * Class template @c is_executor is a UnaryTypeTrait that is derived from @c
30 * true_type if the type @c T meets the syntactic requirements for Executor,
31 * otherwise @c false_type.
35 #if defined(GENERATING_DOCUMENTATION)
36 : integral_constant<bool, automatically_determined>
37 #else // defined(GENERATING_DOCUMENTATION)
38 : boost::asio::detail::is_executor<T>
39 #endif // defined(GENERATING_DOCUMENTATION)
46 #include <boost/asio/detail/pop_options.hpp>
48 #endif // BOOST_ASIO_IS_EXECUTOR_HPP