Boost logo

Boost :

From: Hugo Duncan (hugoduncan_at_[hidden])
Date: 2007-07-31 09:48:36

> I think what you want is a piecewise constant series of (value, offset,
> end offset) tuples like this:
> (42, 0, 9)
> (43, 9, 21)
> (44, 21, 30)
> ...

yes, that is what I am after. Two observations:

One inconvenience of this is that I assume it will always be necessary to
have the next sample before inserting the current sample (so the end of
the run can be specified), though this is not clear to me from the
documentation (do I call inserter(42,0) or inserter(42,0,9)?).

And as an inefficiency, each timestamp gets stored twice (again, if I
understand correctly).


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