diff options
Diffstat (limited to 'boost/mp11/algorithm.hpp')
-rw-r--r-- | boost/mp11/algorithm.hpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/boost/mp11/algorithm.hpp b/boost/mp11/algorithm.hpp index 81d6ef9d4f..23758f7076 100644 --- a/boost/mp11/algorithm.hpp +++ b/boost/mp11/algorithm.hpp @@ -22,7 +22,7 @@ #include <boost/mp11/detail/config.hpp> #include <boost/mp11/integer_sequence.hpp> #include <boost/config.hpp> -#include <boost/detail/workaround.hpp> +#include <boost/config/workaround.hpp> #include <type_traits> #include <utility> @@ -907,15 +907,11 @@ template<class... T, class F> BOOST_CONSTEXPR F mp_for_each_impl( mp_list<T...>, return (void)A{ ((void)f(T()), 0)... }, std::forward<F>(f); } -#if BOOST_WORKAROUND( BOOST_MSVC, <= 1800 ) - template<class F> BOOST_CONSTEXPR F mp_for_each_impl( mp_list<>, F && f ) { return std::forward<F>(f); } -#endif - } // namespace detail template<class L, class F> BOOST_CONSTEXPR F mp_for_each( F && f ) |