12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- #ifndef BOOST_FIBERS_POLICY_H
- #define BOOST_FIBERS_POLICY_H
- #include <type_traits>
- #include <boost/config.hpp>
- #include <boost/fiber/detail/config.hpp>
- #ifdef BOOST_HAS_ABI_HEADERS
- # include BOOST_ABI_PREFIX
- #endif
- namespace boost {
- namespace fibers {
- enum class launch {
- dispatch,
- post
- };
- namespace detail {
- template< typename Fn >
- struct is_launch_policy : public std::false_type {
- };
- template<>
- struct is_launch_policy< boost::fibers::launch > : public std::true_type {
- };
- }
- }}
- #ifdef BOOST_HAS_ABI_HEADERS
- # include BOOST_ABI_SUFFIX
- #endif
- #endif
|