Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:30:24

0001 
0002 //          Copyright Oliver Kowalke 2014.
0003 // Distributed under the Boost Software License, Version 1.0.
0004 //    (See accompanying file LICENSE_1_0.txt or copy at
0005 //          http://www.boost.org/LICENSE_1_0.txt)
0006 
0007 #ifndef BOOST_CONTEXT_DETAIL_EXCEPTION_H
0008 #define BOOST_CONTEXT_DETAIL_EXCEPTION_H
0009 
0010 #include <boost/assert.hpp>
0011 #include <boost/config.hpp>
0012 
0013 #include <boost/context/detail/fcontext.hpp>
0014 
0015 #ifdef BOOST_HAS_ABI_HEADERS
0016 # include BOOST_ABI_PREFIX
0017 #endif
0018 
0019 namespace boost {
0020 namespace context {
0021 namespace detail {
0022 
0023 struct forced_unwind {
0024     fcontext_t  fctx{ nullptr };
0025 
0026     forced_unwind() = default;
0027 
0028     forced_unwind( fcontext_t fctx_) :
0029         fctx( fctx_) {
0030     }
0031 };
0032 
0033 }}}
0034 
0035 #ifdef BOOST_HAS_ABI_HEADERS
0036 #include BOOST_ABI_SUFFIX
0037 #endif
0038 
0039 #endif // BOOST_CONTEXT_DETAIL_EXCEPTION_H