Boost logo

Boost :

From: Jaap Suter (J.Suter_at_[hidden])
Date: 2003-01-04 18:13:30


> We'd like it to. However, as Aleksey said, until we get typedef
> templates, there's no way to make int_c<0> into the same type as
> integral_c<int,0>. The result of
>
> minus< int_c< 4 >, int_c< 4 > >::type
> is
> integral_c<int,0>
>
> Aleksey will have to tell you why. Given the problems you're
> experiencing, I'm not sure whether it's worth it.

Aha, now I understand. That makes perfect sense. I'll just change my
functions to take integral_c<> instead of int_c<> and I won't need the
wrapper.

Thanks for the explanation.

Jaap Suter


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk