Intel 8 gets mixed up by is_polymorphic test code - use same workaround as MSVC.

[SVN r21361]
This commit is contained in:
John Maddock
2003-12-21 15:54:44 +00:00
parent 970a90b365
commit 673f2e35d9

View File

@ -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