From d49f6e05f521be206d0451567e7fa224496ab14c Mon Sep 17 00:00:00 2001 From: jzmaddock Date: Mon, 26 Nov 2018 17:41:45 +0000 Subject: [PATCH] Fix use of BOOST_WORKAROUND in config.hpp, should be BOOST_GCC < 40900 rather than <= 40800 in case there is a patch level. Fixes: https://github.com/boostorg/type_traits/issues/97 --- include/boost/type_traits/detail/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/detail/config.hpp b/include/boost/type_traits/detail/config.hpp index 9cd1934..7c6149e 100644 --- a/include/boost/type_traits/detail/config.hpp +++ b/include/boost/type_traits/detail/config.hpp @@ -81,7 +81,7 @@ // // Can we implement accurate is_function/is_member_function_pointer (post C++03)? // -#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !BOOST_WORKAROUND(BOOST_GCC, <= 40800)\ +#if !defined(BOOST_NO_CXX11_VARIADIC_TEMPLATES) && !BOOST_WORKAROUND(BOOST_GCC, < 40900)\ && !BOOST_WORKAROUND(BOOST_MSVC, < 1900) && !BOOST_WORKAROUND(__clang_major__, <= 4) # define BOOST_TT_HAS_ASCCURATE_IS_FUNCTION #endif