Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:45:10

0001 
0002 //          Copyright Oliver Kowalke 2009.
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_COROUTINES_STACK_ALLOCATOR_H
0008 #define BOOST_COROUTINES_STACK_ALLOCATOR_H
0009 
0010 #include <cstddef>
0011 
0012 #include <boost/config.hpp>
0013 
0014 #include <boost/context/detail/config.hpp>
0015 #include <boost/coroutine/segmented_stack_allocator.hpp>
0016 #include <boost/coroutine/standard_stack_allocator.hpp>
0017 
0018 #ifdef BOOST_HAS_ABI_HEADERS
0019 #  include BOOST_ABI_PREFIX
0020 #endif
0021 
0022 namespace boost {
0023 namespace coroutines {
0024 
0025 #if defined(BOOST_USE_SEGMENTED_STACKS)
0026 typedef segmented_stack_allocator   stack_allocator;
0027 #else
0028 typedef standard_stack_allocator    stack_allocator;
0029 #endif
0030 
0031 }}
0032 
0033 #ifdef BOOST_HAS_ABI_HEADERS
0034 #  include BOOST_ABI_SUFFIX
0035 #endif
0036 
0037 #endif // BOOST_COROUTINES_STACK_ALLOCATOR_H