File indexing completed on 2025-01-18 09:30:34
0001
0002
0003
0004
0005
0006
0007 #ifndef BOOST_COROUTINES2_COROUTINE_H
0008 #define BOOST_COROUTINES2_COROUTINE_H
0009
0010 #include <exception>
0011
0012 #include <boost/assert.hpp>
0013 #include <boost/config.hpp>
0014
0015 #include <boost/coroutine2/detail/coroutine.hpp>
0016
0017 #ifdef BOOST_HAS_ABI_HEADERS
0018 # include BOOST_ABI_PREFIX
0019 #endif
0020
0021 namespace boost {
0022 namespace coroutines2 {
0023
0024 template< typename T >
0025 struct coroutine {
0026 using pull_type = detail::pull_coroutine< T >;
0027 using push_type = detail::push_coroutine< T >;
0028 };
0029
0030 template< typename T >
0031 using asymmetric_coroutine = coroutine< T >;
0032
0033 }}
0034
0035 #ifdef BOOST_HAS_ABI_HEADERS
0036 # include BOOST_ABI_SUFFIX
0037 #endif
0038
0039 #endif