]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/context/include/boost/context/detail/exception.hpp
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / boost / libs / context / include / boost / context / detail / exception.hpp
1
2 // Copyright Oliver Kowalke 2014.
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_CONTEXT_DETAIL_EXCEPTION_H
8 #define BOOST_CONTEXT_DETAIL_EXCEPTION_H
9
10 #include <boost/config.hpp>
11
12 #include <boost/context/detail/fcontext.hpp>
13
14 #ifdef BOOST_HAS_ABI_HEADERS
15 # include BOOST_ABI_PREFIX
16 #endif
17
18 namespace boost {
19 namespace context {
20 namespace detail {
21
22 struct forced_unwind {
23 fcontext_t fctx;
24
25 forced_unwind( fcontext_t fctx_) :
26 fctx( fctx_) {
27 }
28 };
29
30 }}}
31
32 #ifdef BOOST_HAS_ABI_HEADERS
33 #include BOOST_ABI_SUFFIX
34 #endif
35
36 #endif // BOOST_CONTEXT_DETAIL_EXCEPTION_H