|
||||
File indexing completed on 2025-01-30 09:33:45
0001 // 0002 // is_executor.hpp 0003 // ~~~~~~~~~~~~~~~ 0004 // 0005 // Copyright (c) 2003-2023 Christopher M. Kohlhoff (chris at kohlhoff dot com) 0006 // 0007 // Distributed under the Boost Software License, Version 1.0. (See accompanying 0008 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 0009 // 0010 0011 #ifndef BOOST_ASIO_IS_EXECUTOR_HPP 0012 #define BOOST_ASIO_IS_EXECUTOR_HPP 0013 0014 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 0015 # pragma once 0016 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 0017 0018 #include <boost/asio/detail/config.hpp> 0019 #include <boost/asio/detail/is_executor.hpp> 0020 0021 #include <boost/asio/detail/push_options.hpp> 0022 0023 namespace boost { 0024 namespace asio { 0025 0026 /// The is_executor trait detects whether a type T meets the Executor type 0027 /// requirements. 0028 /** 0029 * Class template @c is_executor is a UnaryTypeTrait that is derived from @c 0030 * true_type if the type @c T meets the syntactic requirements for Executor, 0031 * otherwise @c false_type. 0032 */ 0033 template <typename T> 0034 struct is_executor 0035 #if defined(GENERATING_DOCUMENTATION) 0036 : integral_constant<bool, automatically_determined> 0037 #else // defined(GENERATING_DOCUMENTATION) 0038 : boost::asio::detail::is_executor<T> 0039 #endif // defined(GENERATING_DOCUMENTATION) 0040 { 0041 }; 0042 0043 } // namespace asio 0044 } // namespace boost 0045 0046 #include <boost/asio/detail/pop_options.hpp> 0047 0048 #endif // BOOST_ASIO_IS_EXECUTOR_HPP
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |