From: John Maddock (john_at_[hidden])
Date: 2006-12-08 11:46:38
Guillaume Melquiond wrote:
> The implementation is generic; you just have to provide a mathematical
> kernel as a policy (what the documentation calls the "rounding
> in order to describe how to perform operations on values of type T
> That is, once you said how to divide values of type T, you can divide
> values of type interval<T>.
I hadn't realise that, thanks for the correction!
>  For comparison, n2137 does not mandate a specific representation;
> an implementation relying on a midpoint-radius one would still be
Right, that was what I was getting at really: presumably one could write a
specialisation for boost::interval<real_big_type> that used value+radius
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk