Dave Abrahams wrote: > On Tuesday, February 04, 2003 8:05 AM [GMT+1=CET], > Joel de Guzman <[EMAIL PROTECTED]> 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
