forked from boostorg/mp11
g++6 doesn't like mp_any either
This commit is contained in:
1 parent
9a69b1213c
commit
a768587c7d
2 files changed
+13
-3
No files matched your search
@@ -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) || ...)>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user