This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: shared_ptr comparisons


On 17 November 2010 00:42, Paolo Carlini wrote:
> On 11/17/2010 12:46 AM, Jonathan Wakely wrote:
>> Unless I'm mistaken we should only have operators <, == and != for shared_ptr.
>>
>> Any objections to this change?
>>
> Not from me. To be honest I have no idea where those operators comes
> from, and certainly we don't have anything similar for the actual
> std::shared_ptr...

2010-11-27  Jonathan Wakely  <jwakely.gcc@gmail.com>

        * include/bits/shared_ptr_base.h (operator>, operator>=, operator<=):
        Remove comparisons not specified in the C++0x draft.

tested x86_64-linux and committed to trunk

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]