From 673f2e35d9e394011b05a9e92500b30f7f0fe393 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 21 Dec 2003 15:54:44 +0000 Subject: [PATCH] Intel 8 gets mixed up by is_polymorphic test code - use same workaround as MSVC. [SVN r21361] --- include/boost/type_traits/is_polymorphic.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/type_traits/is_polymorphic.hpp b/include/boost/type_traits/is_polymorphic.hpp index 7a9a945..2563578 100644 --- a/include/boost/type_traits/is_polymorphic.hpp +++ b/include/boost/type_traits/is_polymorphic.hpp @@ -36,8 +36,9 @@ struct is_polymorphic_imp1 { d2(); virtual ~d2()throw(); -# ifndef BOOST_MSVC - // for some reason this messes up VC++ when T has virtual bases: +# if !defined(BOOST_MSVC) && !defined(__ICL) + // for some reason this messes up VC++ when T has virtual bases, + // probably likewise for compilers that use the same ABI: struct unique{}; virtual void foo(unique*); # endif