]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/boost/context/detail/exception.hpp
update sources to v12.2.3
[ceph.git] / ceph / src / boost / 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{ nullptr };
24
25 forced_unwind() = default;
26
27 forced_unwind( fcontext_t fctx_) :
28 fctx( fctx_) {
29 }
30 };
31
32 }}}
33
34 #ifdef BOOST_HAS_ABI_HEADERS
35 #include BOOST_ABI_SUFFIX
36 #endif
37
38 #endif // BOOST_CONTEXT_DETAIL_EXCEPTION_H