diff --git a/include/boost/fusion/support/detail/and.hpp b/include/boost/fusion/support/detail/and.hpp index 1b310dda..b45fb0e3 100644 --- a/include/boost/fusion/support/detail/and.hpp +++ b/include/boost/fusion/support/detail/and.hpp @@ -15,6 +15,7 @@ #endif namespace boost { namespace fusion { namespace detail { +#if defined(BOOST_NO_CXX17_FOLD_EXPRESSIONS) template struct and_impl : false_type {}; @@ -34,6 +35,10 @@ namespace boost { namespace fusion { namespace detail { recursive. */ template struct and_ : and_impl1 {}; +#else + template + struct and_ : integral_constant {}; +#endif }}} #endif // FUSION_AND_07152016_1625