http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48206

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-03-19 
19:03:41 UTC ---
(In reply to comment #0)
> 
> It seems that even though the equality operator of shared_ptr should compare
> the underlying objects the program compiled by gcc compares the memory
> addresses.

No, the equality operator should compare the addresses

Reply via email to