g++6 doesn't like mp_any either

This commit is contained in:
Peter Dimov
2017-05-31 07:22:31 +03:00
parent 9a69b1213c
commit a768587c7d
2 changed files with 13 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ template<class T1, class... T> struct mp_or_impl<T1, T...>
} // namespace detail
// mp_any<T...>
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS )
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS ) && !BOOST_WORKAROUND( BOOST_GCC, < 70000 )
template<class... T> using mp_any = mp_bool<(static_cast<bool>(T::value) || ...)>;