]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/fiber/include/boost/fiber/policy.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / fiber / include / boost / fiber / policy.hpp
CommitLineData
7c673cae
FG
1
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)
6
7#ifndef BOOST_FIBERS_POLICY_H
8#define BOOST_FIBERS_POLICY_H
9
10#include <type_traits>
11
12#include <boost/config.hpp>
13
14#include <boost/fiber/detail/config.hpp>
15
16#ifdef BOOST_HAS_ABI_HEADERS
17# include BOOST_ABI_PREFIX
18#endif
19
20namespace boost {
21namespace fibers {
22
23enum class launch {
24 dispatch,
25 post
26};
27
28namespace detail {
29
30template< typename Fn >
31struct is_launch_policy : public std::false_type {
32};
33
34template<>
35struct is_launch_policy< boost::fibers::launch > : public std::true_type {
36};
37
38}
39
40}}
41
42#ifdef BOOST_HAS_ABI_HEADERS
43# include BOOST_ABI_SUFFIX
44#endif
45
46#endif // BOOST_FIBERS_POLICY_H