2 // Copyright Oliver Kowalke 2009.
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)
7 #ifndef BOOST_COROUTINES_SYMMETRIC_COROUTINE_H
8 #define BOOST_COROUTINES_SYMMETRIC_COROUTINE_H
10 #include <boost/config.hpp>
12 #include <boost/coroutine/detail/symmetric_coroutine_call.hpp>
13 #include <boost/coroutine/detail/symmetric_coroutine_yield.hpp>
15 #ifdef BOOST_HAS_ABI_HEADERS
16 # include BOOST_ABI_PREFIX
20 namespace coroutines {
22 template< typename T >
23 struct symmetric_coroutine
25 typedef detail::symmetric_coroutine_call< T > call_type;
26 typedef detail::symmetric_coroutine_yield< T > yield_type;
31 #ifdef BOOST_HAS_ABI_HEADERS
32 # include BOOST_ABI_SUFFIX
35 #endif // BOOST_COROUTINES_SYMMETRIC_COROUTINE_H