From 8587003ae509b1c80387bbb12fe1927296e02984 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Thu, 9 Dec 2021 05:03:55 +0200 Subject: [PATCH] Remove GCC workarounds as fold expressions are no longer used --- include/boost/mp11/function.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/include/boost/mp11/function.hpp b/include/boost/mp11/function.hpp index e20b452..7e5ffe6 100644 --- a/include/boost/mp11/function.hpp +++ b/include/boost/mp11/function.hpp @@ -80,8 +80,7 @@ template using mp_and = typename detail::mp_and_impl>: #endif // mp_all -// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86355 -#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) || BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, != 0 ) +#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) template using mp_all = mp_bool< mp_count_if< mp_list, mp_not >::value == 0 >; @@ -122,8 +121,7 @@ template struct mp_or_impl } // namespace detail // mp_any -// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86356 -#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) || BOOST_MP11_WORKAROUND( BOOST_MP11_GCC, != 0 ) +#if BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 ) template using mp_any = mp_bool< mp_count_if< mp_list, mp_to_bool >::value != 0 >;