|
Boost : |
From: Douglas Gregor (gregod_at_[hidden])
Date: 2002-09-13 09:03:10
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?
> or simply parenthesize:
>
> typedef integral_c<T, (value + 1)> next;
I thought this was the only 'portable' was to handle ICEs...
Doug
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk