
7 Aug
2007
7 Aug
'07
7:34 p.m.
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. Thanks, -- Eric Niebler Boost Consulting www.boost-consulting.com The Astoria Seminar ==> http://www.astoriaseminar.com