Boost logo

Boost :

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


Hi,

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

Gennadiy.

cvs diff transform_traits.hpp
Index: transform_traits.hpp
===================================================================
RCS
file: /cvsroot/boost/boost/boost/type_traits/transform_traits.hpp,v
retrieving revision 1.4
diff -r1.4 transform_traits.hpp
25c25
< #if !defined(BOOST_COMPOSITE_TYPE_TRAITS_HPP) && defined
(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION)

---
> #if !defined(BOOST_COMPOSITE_TYPE_TRAITS_HPP) && defined
(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && (!defined(__SUNPRO_CC) 
|| __SUNPRO_CC < 0x510)
39c39
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x510
65c65
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x510
130c130
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x510
153c153
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x510

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