Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2007-08-07 15:34:11

Eric Niebler wrote:
> Stjepan Rajko wrote:
>> I moved on to:
>> piecewise_constant_series< double, int, double > pc;
>> pc = dense;
> If that compiles, it's a bug. The offset types should be required to match.

I've confirmed this bug, and fixed it locally. This error will be caught
at compile time for now. If and when the the semantics of floating point
offsets are made consistent with integral offsets, I can revisit the
issue of offset type convertibility.


Eric Niebler
Boost Consulting
The Astoria Seminar ==>

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