Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-08-17 09:09:51

At 08:45 PM 8/16/2001, Greg Colvin wrote:

>From: "Scott McCaskill" <scott_at_[hidden]>
>> I'd like to propose a minor addition to smart_ptr.hpp: operator<()...
>We've been around the block on this a few times now. As I recall I
>argued that for raw pointers operator< is defined only for pointers
>into the same object, which should never happen for shared_ptr. For
>comparing arbitrary raw pointer you should use std::less, which we
>have provided. But this choice seems to be causing enough confusion
>and inconvenience that I no longer object to adding operator<.
>Since others might still object, and since there are related defect
>reports being resolved, and since shared_ptr may be presented to
>the committee soon, I think it is time to gather up the various
>suggestions for improvements and plan on a formal review of the
>possible changes.

Yes, I've been thinking the same thing, and feeling guilty about not
responding to some of the recent suggestions. I'm overloaded with other
projects, so Greg or someone else will have to spearhead the effort.


Boost list run by bdawes at, gregod at, cpdaniel at, john at