$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2003-02-04 11:03:05
Dave Abrahams wrote:
> On Tuesday, February 04, 2003 8:05 AM [GMT+1=CET],
> Joel de Guzman <djowel_at_[hidden]> wrote:
> 
>> Yup, this works:
>> 
>> #elif defined(__GNUC__) && (__GNUC__ < 3)
>>     // g++ 2.95.3 cannot take static_cast the casts,
>>     typedef integral_c<T, T(value + 1)> next;
>>     typedef integral_c<T, T(value - 1)> prior;
> 
> Hey, does that one work for Borland, too?  Maybe we could get rid of the
> conditionals?
The conditionals for using 'N' instead of 'value' are still needed.
The c-style cast works, though.
-- Fernando Cacciola