From 01a2d6557ea65fb4c5ec6f3e50d3340c1c13629d Mon Sep 17 00:00:00 2001 From: Kohei Takahashi Date: Wed, 25 Mar 2015 21:49:22 +0900 Subject: [PATCH] Adjust LWG2408 workaround enabling condition. --- include/boost/fusion/support/config.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/boost/fusion/support/config.hpp b/include/boost/fusion/support/config.hpp index 924c2ff1..10dc29df 100644 --- a/include/boost/fusion/support/config.hpp +++ b/include/boost/fusion/support/config.hpp @@ -75,10 +75,10 @@ namespace boost { namespace fusion { namespace detail // - GCC 4.5 enables the feature under C++11. // https://gcc.gnu.org/ml/gcc-patches/2014-11/msg01105.html // -// - Only MSVC 12.0 doesn't have the feature. +// - MSVC 10.0 implements iterator intrinsics; MSVC 13.0 implements LWG2408. #if (defined(BOOST_LIBSTDCXX_VERSION) && (BOOST_LIBSTDCXX_VERSION < 40500) && \ defined(BOOST_LIBSTDCXX11)) || \ - (defined(BOOST_MSVC) && (BOOST_MSVC == 1800)) + (defined(BOOST_MSVC) && (1600 <= BOOST_MSVC || BOOST_MSVC < 1900)) # define BOOST_FUSION_WORKAROUND_FOR_LWG_2408 namespace std {