Boost logo

Boost :

From: Gennadiy E. Rozental (rogeeff_at_[hidden])
Date: 2001-09-07 12:38:55


Well,
Partial specialization support in sun compiler is very wacky (I would
rather say thay do not support it that instead). So I would not
recoment to define this macro. It will confuse and also I think that
we will have a lot of places where you will see statements like this:

#if defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) && !defined
(__SUNPRO_CC)
....
#endif

Though we can try.

Gennadiy.

--- In boost_at_y..., Darin Adler <darin_at_b...> wrote:
> on 9/7/01 8:25 AM, Gennadiy E. Rozental at rogeeff_at_m... wrote:
>
> Index: conversion_traits.hpp
> >
===================================================================
> > RCS
> >
file: /cvsroot/boost/boost/boost/type_traits/conversion_traits.hpp,v
> > retrieving revision 1.7
> > diff -r1.7 conversion_traits.hpp
> > 203c203
> > < #ifndef BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
> > ---
> >> #if !defined(BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION) || defined
(
> > __SUNPRO_CC) && __SUNPRO_CC >= 0x520
>
> It looks to me like the real problem fixed by this and many other
suggested
> patches is that BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION (and
perhaps other
> flags from config.hpp) needs to be set for newer versions of the
SunPro
> compiler, not just older versions.
>
> We don't want to sprinkle changes around all the files to deal with
this.
> Instead we want to just fix config.hpp.
>
> -- Darin


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