Added workaround for gcc3.4

[SVN r21727]
This commit is contained in:
John Maddock
2004-01-14 13:27:20 +00:00
parent 5359f483bc
commit 7f3b917cea

View File

@ -67,7 +67,11 @@ struct is_abstract_imp
// GCC2 won't even parse this template if we embed the computation
// of s1 in the computation of value.
#ifdef __GNUC__
BOOST_STATIC_CONSTANT(unsigned, s1 = sizeof(is_abstract_imp<T>::template check<T>(0)));
#else
BOOST_STATIC_CONSTANT(unsigned, s1 = sizeof(check<T>(0)));
#endif
BOOST_STATIC_CONSTANT(bool, value =
(::boost::type_traits::ice_and<