Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-17 07:09:44


----- Original Message -----
From: "Markus Schöpflin" <markus.schoepflin_at_[hidden]>
>
> Hmm, now it looks a little different than yesterday. Ok, the following
> four lines make it work.
>
> BOOST_STATIC_CONSTANT(T, next_value = (N + 1));
> BOOST_STATIC_CONSTANT(T, prior_value = (N - 1));
> typedef integral_c<T, N + 1> next;
> typedef integral_c<T, N - 1> prior;
>
> Note the use of N+1 and N-1 instead of next_value and prior_value
> in the typedef.

Markus,

Please try the current CVS state. Does that fix things for you?

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * 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