Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 10:31:48


Hi,

I propose following change in object_traits.hpp to be able to compile
it with Solaris Forte c++ 6u.1

Gennadiy.

cvs diff object_traits.hpp
Index: object_traits.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/type_traits/object_traits.hpp,v
retrieving revision 1.6
diff -r1.6 object_traits.hpp
44c44
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x510
85c85
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x510
220c220
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x510
311,327c311
<    typedef ::boost::detail::empty_helper_chooser<
<       ::boost::type_traits::ice_and<
<          ::boost::type_traits::ice_not< 
<             ::boost::is_reference<T>::value>::value,
<          ::boost::type_traits::ice_not< 
<             ::boost::is_convertible<T,double>::value>::value,
<          ::boost::type_traits::ice_not< 
<             ::boost::is_pointer<T>::value>::value,
<          ::boost::type_traits::ice_not< 
<             ::boost::is_member_pointer<T>::value>::value,
<          ::boost::type_traits::ice_not< 
<             ::boost::is_array<T>::value>::value,
<          ::boost::type_traits::ice_not< 
<             ::boost::is_void<T>::value>::value,
<          ::boost::type_traits::ice_not< 
<             ::boost::is_convertible<T, const volatile 
void*>::value>::value
<       >::value> chooser;
---
>    
typedef ::boost::detail::empty_helper_chooser<::boost::type_traits::ic
e_and<::boost::type_traits::ice_not< ::boost::is_reference<T>::value>:
:value,::boost::type_traits::ice_not< ::boost::is_convertible<T,double
>::value>::value,::boost::type_traits::ice_not< ::boost::is_pointer<T>
::value>::value,::boost::type_traits::ice_not< ::boost::is_member_poin
ter<T>::value>::value,::boost::type_traits::ice_not<::boost::is_array<
T>::value>::value,::boost::type_traits::ice_not< ::boost::is_void<T>::
value>::value,::boost::type_traits::ice_not< ::boost::is_convertible<T
, const volatile void*>::value>::value>::value> chooser;

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk