From e7fbe05ee2aff65de22db7f45313851957cb65da Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Tue, 25 Mar 2008 20:47:38 +0000 Subject: [PATCH] Work around intel-10.0-win compiler bug [SVN r43861] --- include/boost/concept/requires.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) mode change 100755 => 100644 include/boost/concept/requires.hpp diff --git a/include/boost/concept/requires.hpp b/include/boost/concept/requires.hpp old mode 100755 new mode 100644 index 5570b64..024ba74 --- a/include/boost/concept/requires.hpp +++ b/include/boost/concept/requires.hpp @@ -4,6 +4,7 @@ #ifndef BOOST_CONCEPT_REQUIRES_DWA2006430_HPP # define BOOST_CONCEPT_REQUIRES_DWA2006430_HPP +# include # include # include # include @@ -38,8 +39,11 @@ struct Requires_ : ::boost::parameter::aux::unaryfunptr_arg_type # endif }; - -#define BOOST_CONCEPT_REQUIRES_(r,data,t) + (::boost::_requires_::value) +# if BOOST_WORKAROUND(BOOST_INTEL_WIN, BOOST_TESTED_AT(1010)) +# define BOOST_CONCEPT_REQUIRES_(r,data,t) | (::boost::_requires_::value) +# else +# define BOOST_CONCEPT_REQUIRES_(r,data,t) + (::boost::_requires_::value) +# endif #if defined(NDEBUG) || BOOST_WORKAROUND(BOOST_MSVC, < 1300)