
Eric Niebler <eric <at> boost-consulting.com> writes:
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?
What about fine_grain and coarse_grain? If you use piecewise_constant_series<double, SI::time> you should in theory be able to return a quantity<SI::time, double> from integrate if you use Typeof, right? In Christ, Steven Watanabe