|
Boost :
|
- Next message: williamkempf_at_[hidden]: "Re: Smart pointer status, directions, thoughts"
- Previous message: David Abrahams: "Re: [boost] Re: Smart pointer status, directions, thoughts"
- In reply to: Peter Dimov: "Re: [boost] Re: Smart pointer status, directions, thoughts"
- Next in thread: Peter Dimov: "Re: [boost] Re: Smart pointer status, directions, thoughts"
- Reply: Peter Dimov: "Re: [boost] Re: Smart pointer status, directions, thoughts"
----- 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
- Next message: williamkempf_at_[hidden]: "Re: Smart pointer status, directions, thoughts"
- Previous message: David Abrahams: "Re: [boost] Re: Smart pointer status, directions, thoughts"
- In reply to: Peter Dimov: "Re: [boost] Re: Smart pointer status, directions, thoughts"
- Next in thread: Peter Dimov: "Re: [boost] Re: Smart pointer status, directions, thoughts"
- Reply: Peter Dimov: "Re: [boost] Re: Smart pointer status, directions, thoughts"
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk