[Bug libstdc++/54351] ~unique_ptr() should not set stored pointer to null

gromer at google dot com gcc-bugzilla@gcc.gnu.org
Wed Aug 22 19:49:00 GMT 2012


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

--- Comment #7 from Geoff Romer <gromer at google dot com> 2012-08-22 19:49:28 UTC ---
(In reply to comment #6)
> (In reply to comment #5)
> > Don't forget the array specialization.
> 
> I won't :-)
> 
> > Doesn't the first line of your new destructor shadow the __p member with a __p
> > local variable? Why is that line needed at all?
> 
> There is no __p member.

Ah, sorry, I was evidently misreading something. I've corrected the bug
description.



More information about the Gcc-bugs mailing list