coroutine.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. // Copyright Oliver Kowalke 2014.
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // (See accompanying file LICENSE_1_0.txt or copy at
  4. // http://www.boost.org/LICENSE_1_0.txt)
  5. #ifndef BOOST_COROUTINES2_DETAIL_COROUTINE_HPP
  6. #define BOOST_COROUTINES2_DETAIL_COROUTINE_HPP
  7. #include <boost/config.hpp>
  8. #include <boost/context/detail/config.hpp>
  9. #ifdef BOOST_HAS_ABI_HEADERS
  10. # include BOOST_ABI_PREFIX
  11. #endif
  12. namespace boost {
  13. namespace coroutines2 {
  14. namespace detail {
  15. template< typename T >
  16. class pull_coroutine;
  17. template< typename T >
  18. class push_coroutine;
  19. }}}
  20. #include <boost/coroutine2/detail/pull_coroutine.hpp>
  21. #include <boost/coroutine2/detail/push_coroutine.hpp>
  22. #include <boost/coroutine2/detail/pull_control_block_cc.hpp>
  23. #include <boost/coroutine2/detail/push_control_block_cc.hpp>
  24. #include <boost/coroutine2/detail/pull_coroutine.ipp>
  25. #include <boost/coroutine2/detail/push_coroutine.ipp>
  26. #include <boost/coroutine2/detail/pull_control_block_cc.ipp>
  27. #include <boost/coroutine2/detail/push_control_block_cc.ipp>
  28. #ifdef BOOST_HAS_ABI_HEADERS
  29. # include BOOST_ABI_SUFFIX
  30. #endif
  31. #endif // BOOST_COROUTINES2_DETAIL_COROUTINE_HPP