diff --git a/.travis.yml b/.travis.yml index 8672238..c4862c3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -84,6 +84,16 @@ matrix: sources: - ubuntu-toolchain-r-test + - os: linux + compiler: g++-8 + env: TOOLSET=gcc COMPILER=g++-8 CXXSTD=11,14,17 + addons: + apt: + packages: + - g++-8 + sources: + - ubuntu-toolchain-r-test + - os: linux compiler: g++ env: NVCC=1 diff --git a/include/boost/mp11/function.hpp b/include/boost/mp11/function.hpp index 2de5ce8..5968f52 100644 --- a/include/boost/mp11/function.hpp +++ b/include/boost/mp11/function.hpp @@ -79,7 +79,7 @@ template using mp_and = typename detail::mp_and_impl>: #endif // mp_all -#if BOOST_WORKAROUND( BOOST_MSVC, < 1920 ) || BOOST_WORKAROUND( BOOST_GCC, < 70400 ) +#if BOOST_WORKAROUND( BOOST_MSVC, < 1920 ) || BOOST_WORKAROUND( BOOST_GCC, < 80200 ) template using mp_all = mp_bool< mp_count_if< mp_list, mp_not >::value == 0 >; @@ -124,7 +124,7 @@ template struct mp_or_impl } // namespace detail // mp_any -#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS ) && !BOOST_WORKAROUND( BOOST_GCC, < 70400 ) +#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS ) && !BOOST_WORKAROUND( BOOST_GCC, < 80200 ) template using mp_any = mp_bool<(static_cast(T::value) || ...)>;