|
Boost : |
From: Dave Abrahams (dave_at_[hidden])
Date: 2003-02-04 10:41:43
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?
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk