2 // Copyright Oliver Kowalke 2013.
3 // Distributed under the Boost Software License, Version 1.0.
4 // (See accompanying file LICENSE_1_0.txt or copy at
5 // http://www.boost.org/LICENSE_1_0.txt)
7 #ifndef BOOST_FIBERS_POLICY_H
8 #define BOOST_FIBERS_POLICY_H
10 #include <type_traits>
12 #include <boost/config.hpp>
14 #include <boost/fiber/detail/config.hpp>
16 #ifdef BOOST_HAS_ABI_HEADERS
17 # include BOOST_ABI_PREFIX
30 template< typename Fn >
31 struct is_launch_policy : public std::false_type {
35 struct is_launch_policy< boost::fibers::launch > : public std::true_type {
42 #ifdef BOOST_HAS_ABI_HEADERS
43 # include BOOST_ABI_SUFFIX
46 #endif // BOOST_FIBERS_POLICY_H