forked from boostorg/type_traits
Sunpro can't cope with latest is_base_and_derived implementation
added gcc warning suppression to is_class [SVN r17911]
This commit is contained in:
@@ -25,6 +25,7 @@ namespace boost {
|
||||
namespace detail {
|
||||
|
||||
#if !BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570)) \
|
||||
&& !BOOST_WORKAROUND(__SUNPRO_CC , BOOST_TESTED_AT(0x540)) \
|
||||
&& !BOOST_WORKAROUND(__EDG_VERSION__, <= 238)
|
||||
// The EDG version number is a lower estimate.
|
||||
// It is not currently known which EDG version
|
||||
|
@@ -82,6 +82,7 @@ struct is_class_impl
|
||||
::boost::type_traits::ice_not< ::boost::is_array<T>::value >::value,
|
||||
::boost::type_traits::ice_not< ::boost::is_reference<T>::value>::value,
|
||||
::boost::type_traits::ice_not< ::boost::is_void<T>::value >::value
|
||||
::boost::type_traits::ice_not< ::boost::is_function<T>::value >::value
|
||||
>::value));
|
||||
# endif
|
||||
};
|
||||
|
Reference in New Issue
Block a user