File indexing completed on 2025-01-18 09:30:34
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_COROUTINES2_SEGMENTED_H
0008 #define BOOST_COROUTINES2_SEGMENTED_H
0009
0010 #include <exception>
0011
0012 #include <boost/assert.hpp>
0013 #include <boost/config.hpp>
0014 #include <boost/context/segmented_stack.hpp>
0015
0016 #include <boost/coroutine2/detail/coroutine.hpp>
0017
0018 #ifdef BOOST_HAS_ABI_HEADERS
0019 # include BOOST_ABI_PREFIX
0020 #endif
0021
0022 namespace boost {
0023 namespace coroutines2 {
0024
0025 #if defined(BOOST_USE_SEGMENTED_STACKS)
0026 # if ! defined(BOOST_WINDOWS)
0027 using segmented_stack = boost::context::segmented_stack;
0028 using default_stack = boost::context::default_stack;
0029 # endif
0030 #endif
0031
0032 }}
0033
0034 #ifdef BOOST_HAS_ABI_HEADERS
0035 # include BOOST_ABI_SUFFIX
0036 #endif
0037
0038 #endif