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_SYMMETRIC_COROUTINE_H
0008 #define BOOST_COROUTINES_SYMMETRIC_COROUTINE_H
0009 
0010 #include <boost/config.hpp>
0011 
0012 #include <boost/coroutine/detail/symmetric_coroutine_call.hpp>
0013 #include <boost/coroutine/detail/symmetric_coroutine_yield.hpp>
0014 
0015 #ifdef BOOST_HAS_ABI_HEADERS
0016 #  include BOOST_ABI_PREFIX
0017 #endif
0018 
0019 namespace boost {
0020 namespace coroutines {
0021 
0022 template< typename T >
0023 struct symmetric_coroutine
0024 {
0025     typedef detail::symmetric_coroutine_call< T >   call_type;
0026     typedef detail::symmetric_coroutine_yield< T >  yield_type;
0027 };
0028 
0029 }}
0030 
0031 #ifdef BOOST_HAS_ABI_HEADERS
0032 #  include BOOST_ABI_SUFFIX
0033 #endif
0034 
0035 #endif // BOOST_COROUTINES_SYMMETRIC_COROUTINE_H