$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2002-09-13 09:11:57
From: "Douglas Gregor" <gregod_at_[hidden]>
> On Friday 13 September 2002 09:50 am, David Abrahams wrote:
> > These old EDG compilers have problems with ice's. It usually makes
sense to
> > compute them separately:
> >
> > BOOST_STATIC_CONSTANT(T, next_value = value + 1);
> > typedef integral_c<T, next_value> next;
>
> Doesn't this version break on Borland?
Probably.
> > or simply parenthesize:
> >
> > typedef integral_c<T, (value + 1)> next;
>
> I thought this was the only 'portable' was to handle ICEs...
It doesn't always work either. Older EDGs are very finicky.
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com