disable_overload.hpp 830 B

12345678910111213141516171819202122232425262728293031323334
  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_DISABLE_OVERLOAD_H
  6. #define BOOST_COROUTINES2_DETAIL_DISABLE_OVERLOAD_H
  7. #include <type_traits>
  8. #include <boost/config.hpp>
  9. #include <boost/context/detail/disable_overload.hpp>
  10. #include <boost/coroutine2/detail/config.hpp>
  11. #ifdef BOOST_HAS_ABI_HEADERS
  12. # include BOOST_ABI_PREFIX
  13. #endif
  14. namespace boost {
  15. namespace coroutines2 {
  16. namespace detail {
  17. template< typename X, typename Y >
  18. using disable_overload = boost::context::detail::disable_overload< X, Y >;
  19. }}}
  20. #ifdef BOOST_HAS_ABI_HEADERS
  21. #include BOOST_ABI_SUFFIX
  22. #endif
  23. #endif // BOOST_COROUTINES2_DETAIL_DISABLE_OVERLOAD_H