[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 18:51:00 GMT 2012


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2012-08-22
     Ever Confirmed|0                           |1

--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-08-22 18:51:27 UTC ---
Looking more closely, [basic.life]/5 and [class.cdtor]/1 do seem to allow your
testcase. So confirmed.



More information about the Gcc-bugs mailing list