123456789101112131415161718192021222324252627282930313233343536373839 |
- #ifndef BOOST_COROUTINES2_COROUTINE_H
- #define BOOST_COROUTINES2_COROUTINE_H
- #include <exception>
- #include <boost/assert.hpp>
- #include <boost/config.hpp>
- #include <boost/coroutine2/detail/coroutine.hpp>
- #ifdef BOOST_HAS_ABI_HEADERS
- # include BOOST_ABI_PREFIX
- #endif
- namespace boost {
- namespace coroutines2 {
- template< typename T >
- struct coroutine {
- using pull_type = detail::pull_coroutine< T >;
- using push_type = detail::push_coroutine< T >;
- };
- template< typename T >
- using asymmetric_coroutine = coroutine< T >;
- }}
- #ifdef BOOST_HAS_ABI_HEADERS
- # include BOOST_ABI_SUFFIX
- #endif
- #endif
|