g++6 doesn't like mp_any either

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

No files matched your search

+1 -1
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) || ...)>;