From aec459a49c99f7d2e334c5159a264df3c41f478f Mon Sep 17 00:00:00 2001 From: Eric Niebler Date: Mon, 7 Jul 2014 15:47:06 -0700 Subject: [PATCH] add back the has_xxx workaround for msvc if used with nvcc --- include/boost/mpl/has_xxx.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/boost/mpl/has_xxx.hpp b/include/boost/mpl/has_xxx.hpp index a2569ae..82e67dd 100644 --- a/include/boost/mpl/has_xxx.hpp +++ b/include/boost/mpl/has_xxx.hpp @@ -156,6 +156,7 @@ template<> struct trait \ // posting by Rani Sharoni (comp.lang.c++.moderated, 2002-03-17 07:45:09 PST) # elif BOOST_WORKAROUND(BOOST_MSVC, <= 1400) \ + || (BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1800)) && defined(__CUDACC__)) \ || BOOST_WORKAROUND(__IBMCPP__, <= 700) // MSVC 7.1 & MSVC 8.0 & VACPP