[Bug libstdc++/54351] ~unique_ptr() should not set __p to null
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 22 19:28:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54351
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-08-22 19:28:15 UTC ---
(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.
More information about the Gcc-bugs
mailing list