11 #ifndef ASIO_EXECUTION_SCHEDULER_HPP 12 #define ASIO_EXECUTION_SCHEDULER_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 18 #include "asio/detail/config.hpp" 19 #include "asio/detail/type_traits.hpp" 20 #include "asio/execution/schedule.hpp" 21 #include "asio/traits/equality_comparable.hpp" 23 #include "asio/detail/push_options.hpp" 31 integral_constant<bool,
32 is_copy_constructible<typename remove_cvref<T>::type>::value
33 && traits::equality_comparable<typename remove_cvref<T>::type>::is_valid
49 #if defined(GENERATING_DOCUMENTATION) 50 integral_constant<bool, automatically_determined>
51 #else // defined(GENERATING_DOCUMENTATION) 53 can_schedule<T>::value,
54 detail::is_scheduler_base<T>,
57 #endif // defined(GENERATING_DOCUMENTATION) 61 #if defined(ASIO_HAS_VARIABLE_TEMPLATES) 66 #endif // defined(ASIO_HAS_VARIABLE_TEMPLATES) 68 #if defined(ASIO_HAS_CONCEPTS) 73 #define ASIO_EXECUTION_SCHEDULER ::asio::execution::scheduler 75 #else // defined(ASIO_HAS_CONCEPTS) 77 #define ASIO_EXECUTION_SCHEDULER typename 79 #endif // defined(ASIO_HAS_CONCEPTS) 84 #include "asio/detail/pop_options.hpp" 86 #endif // ASIO_EXECUTION_SCHEDULER_HPP The is_scheduler trait detects whether a type T satisfies the execution::scheduler concept...
Definition: scheduler.hpp:48
Definition: scheduler.hpp:30
Definition: handler_work.hpp:37
Definition: any_io_executor.hpp:28