|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2007-08-07 19:35:05
Steven Watanabe wrote:
> AMDG
>
> Steven Watanabe <steven <at> providere-consulting.com> 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 www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk