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.

Thanks,

-- 
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