Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-08-07 19:35:05

Steven Watanabe wrote:
> Steven Watanabe <steven <at>> writes:
>> dense_series<double, boost::units::SI::time> will
>> work fine as is.
> As long as you don't use any of the algorithms
> that treat the discretization as an integer...

If any do, it's a bug. The only algorithm that does anything interesting
with the discretization is integrate(), and its only requirement is that
the value_type can be multiplied by the discretization and the result
assigned back to the value_type. That is probably not the case with
boost.units, is it?

Eric Niebler
Boost Consulting
The Astoria Seminar ==>

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