Add one additional test for mp_any that exposes an issue with msvc-14.1/cxxstd=17

This commit is contained in:
Peter Dimov
2019-01-07 20:21:14 +02:00
parent 16c6f93cff
commit 27b2ebdbff
2 changed files with 11 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ template<class T1, class... T> struct mp_or_impl<T1, T...>
} // namespace detail
// mp_any<T...>
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS ) && !BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 80200 )
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS ) && !BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, < 80200 ) && !BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 )
template<class... T> using mp_any = mp_bool<(static_cast<bool>(T::value) || ...)>;