This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [C++0x] fix libstdc++/43183 (unique_ptr::reset)
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 2 Mar 2010 05:27:40 -0800
- Subject: Re: [C++0x] fix libstdc++/43183 (unique_ptr::reset)
- References: <4348dea51003011640g4cf678fblc6a579d4735a6bdd@mail.gmail.com>
On Mon, Mar 1, 2010 at 4:40 PM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:
> ? ? ? ?PR libstdc++/43183
> ? ? ? ?* include/bits/unique_ptr.h (reset): Fix as per working paper.
> ? ? ? ?(operator*, operator->, operator[], operator bool, release): Use
> ? ? ? ?pointer's null value instead of 0.
> ? ? ? ?* testsuite/20_util/unique_ptr/assign/assign_neg.cc: Adjust.
> ? ? ? ?* testsuite/20_util/unique_ptr/modifiers/reset_neg.cc: Adjust.
> ? ? ? ?* testsuite/20_util/unique_ptr/modifiers/43183.cc: New.
>
> Tested Linux/x86_64 and committed.
>
It caused:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43230
--
H.J.