Index: config/test/boost_no_is_abstract.ipp =================================================================== --- config/test/boost_no_is_abstract.ipp (revision 3) +++ config/test/boost_no_is_abstract.ipp (working copy) @@ -12,11 +12,18 @@ namespace boost_no_is_abstract{ +#if defined(__CODEGEARC__) template struct is_abstract_test { - // Deduction fails if T is void, function type, - // reference type (14.8.2/2)or an abstract class type + enum{ value = __is_abstract(T) }; +}; +#else +template +struct is_abstract_test +{ + // Deduction fails if T is void, function type, + // reference type (14.8.2/2)or an abstract class type // according to review status issue #337 // template @@ -29,9 +36,10 @@ #else enum{ s1 = sizeof(check_sig(0)) }; #endif - + enum{ value = (s1 == sizeof(char)) }; }; +#endif struct non_abstract{}; struct abstract{ virtual void foo() = 0; };