From 814653754f3132fd7ed6d323fe5a286e05e6f7d8 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Sat, 3 May 2008 12:07:15 +0000 Subject: [PATCH] Old versions on the intel compiler (and I assume other EDG based compilers) don't seem to be able to deal with the SFINAE code used in 'has_move'. [SVN r45061] --- include/boost/unordered/detail/config.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/boost/unordered/detail/config.hpp b/include/boost/unordered/detail/config.hpp index 28af7c98..1289b69a 100644 --- a/include/boost/unordered/detail/config.hpp +++ b/include/boost/unordered/detail/config.hpp @@ -13,6 +13,9 @@ #elif defined(__GNUC__) && \ (__GNUC__ < 3 || __GNUC__ == 3 && __GNUC_MINOR__ <= 3) # define BOOST_UNORDERED_NO_HAS_MOVE_ASSIGN +#elif BOOST_WORKAROUND(BOOST_INTEL, < 900) || \ + BOOST_WORKAROUND(__EDG_VERSION__, < 304) +# define BOOST_UNORDERED_NO_HAS_MOVE_ASSIGN #endif #endif