From 6f8de8d774c5d74f7ddaa032e408891448e25a2b Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Fri, 27 Apr 2018 20:29:06 +0900 Subject: [PATCH] Added workaround for fold expr and dependent name --- include/boost/fusion/support/detail/and.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/include/boost/fusion/support/detail/and.hpp b/include/boost/fusion/support/detail/and.hpp index b45fb0e3..42926cb1 100644 --- a/include/boost/fusion/support/detail/and.hpp +++ b/include/boost/fusion/support/detail/and.hpp @@ -1,5 +1,6 @@ /*============================================================================= Copyright (c) 2016 Lee Clagett + Copyright (c) 2018 Kohei Takahashi Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -8,6 +9,7 @@ #define FUSION_AND_07152016_1625 #include +#include #include #if defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) @@ -15,7 +17,8 @@ #endif namespace boost { namespace fusion { namespace detail { -#if defined(BOOST_NO_CXX17_FOLD_EXPRESSIONS) +#if defined(BOOST_NO_CXX17_FOLD_EXPRESSIONS) \ + || BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1913)) template struct and_impl : false_type {};