Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-05-24 12:42:24


----- Original Message -----
From: "Peter Dimov" <pdimov_at_[hidden]>

> No, it's never valid to have less<type> but not operator<. The only
> exception is for pointers that don't point into the same array.

Think of the target of a smart pointer as a 1-element array. That is exactly
the case we have.

-Dave


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