1 2 // Copyright Oliver Kowalke 2014. 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) 6 7 #ifndef BOOST_COROUTINES2_DETAIL_DISABLE_OVERLOAD_H 8 #define BOOST_COROUTINES2_DETAIL_DISABLE_OVERLOAD_H 9 10 #include <type_traits> 11 12 #include <boost/config.hpp> 13 #include <boost/context/detail/disable_overload.hpp> 14 15 #include <boost/coroutine2/detail/config.hpp> 16 17 #ifdef BOOST_HAS_ABI_HEADERS 18 # include BOOST_ABI_PREFIX 19 #endif 20 21 namespace boost { 22 namespace coroutines2 { 23 namespace detail { 24 25 template< typename X, typename Y > 26 using disable_overload = boost::context::detail::disable_overload< X, Y >; 27 28 }}} 29 30 #ifdef BOOST_HAS_ABI_HEADERS 31 #include BOOST_ABI_SUFFIX 32 #endif 33 34 #endif // BOOST_COROUTINES2_DETAIL_DISABLE_OVERLOAD_H 35