Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-09-05 21:09:51


From: "Sylvain Pion" <pion_at_[hidden]>

> But you said :
>
> > There's also the argument that exact comparison of floating point
numbers
> > is usually a waste of time due to rounding errors, so the application
for
> > map keys may not be a compelling one.
>
> I wasn't sure what you meant, so that was my interpretation.
> Could you clarify what you meant here, in what does it differ from my
> interpretation ?

All I meant was that it might not be worth worrying about having a
*convenient* way to use intervals as associative keys if it's not a very
compelling use-case. How often does anyone use a double as an associative
key? What about std::complex<>?

-----------------------------------------------------------
           David Abrahams * Boost Consulting
dave_at_[hidden] * http://www.boost-consulting.com


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk