Boost logo

Boost :

From: Dirk Gerrits (dirk_at_[hidden])
Date: 2002-09-21 05:13:55

Terje Slettebø wrote:
>>From: "Dirk Gerrits" <dirk_at_[hidden]>
>>Please forgive the insolence of a MPL newbie, but I thought integral_c
>>did exactly what your value is supposed to do? And I think that is what
>>Aleksey was trying to explain as well.
> Well, it would, if integral_c was the only kind of value type you could use
> for metafunctions. However, if you for example look in the "mpl/math"
> directory, you'll find a couple of others, rational_c and fixed_c. These
> represent rational numbers and fixed point numbers, respectively. This means
> you can do floating-point calculations in metaprogramming (!) :)
[good explanation snipped]
> I hope that was more understandable.

Yes thanks for clearing it up for me. I see the need for your value
template now.


Boost list run by bdawes at, gregod at, cpdaniel at, john at