$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2002-09-17 06:26:24
----- 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.
next_value and prior_value were needed for some older EDG compilers
Oh, well, I guess we need 3 separate cases :(
-----------------------------------------------------------
David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com