Boost logo

Boost :

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


Hi,

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

Gennadiy.

cvs diff cv_traits.hpp
Index: cv_traits.hpp
===================================================================
RCS file: /cvsroot/boost/boost/boost/type_traits/cv_traits.hpp,v
retrieving revision 1.4
diff -r1.4 cv_traits.hpp
190a191,201
> #if defined( __SUNPRO_CC) && __SUNPRO_CC >= 0x520
> template <typename T> struct is_const<T&>
> { BOOST_STATIC_CONSTANT(bool, value = false); };
> template <typename T> struct is_const<T const&>
> { BOOST_STATIC_CONSTANT(bool, value = false); };
> template <typename T> struct is_const<T volatile&>
> { BOOST_STATIC_CONSTANT(bool, value = false); };
> template <typename T> struct is_const<T const volatile&>
> { BOOST_STATIC_CONSTANT(bool, value = false); };
> #endif
>
266c277
< #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION

---
> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined( 
__SUNPRO_CC) && __SUNPRO_CC >= 0x520

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