Boost logo

Boost :

From: Gabriel Dos Reis (gdr_at_[hidden])
Date: 2002-09-06 04:07:46


Sylvain Pion <pion_at_[hidden]> writes:

| On Thu, Sep 05, 2002 at 06:49:15PM -0400, David Abrahams wrote:
| > I'm not suggesting that it is. I'm only saying that you need something of
| > the kind for most applications if you want to use them as map keys. For that
| > reason, I'd suggest providing an appropriate compare object type which can
| > be passed as an argument to std::map<>.
|
| Note that from this point of view, boost::interval is essentially the same
| thing as std::complex.
| And unless I'm mistaken, std::complex doesn't provide such an object.

That is viewed as a serious defect by some C++ users.

Personally, I see the argument not providing them rather weak if not
totally artificial.

-- Gaby


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