diff options
| author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2010-03-02 00:40:28 +0000 |
|---|---|---|
| committer | Jonathan Wakely <redi@gcc.gnu.org> | 2010-03-02 00:40:28 +0000 |
| commit | 3e2e197673d9568bb85556da44ce31ebe5a32ab3 (patch) | |
| tree | 0aac139b9a6251b8de6b0927da20cc16b6481b9b /libjava/java/io/ByteArrayOutputStream.h | |
| parent | f743fd0a4c4263692a20c469a7bcfdb4fc2f7c39 (diff) | |
| download | gcc-3e2e197673d9568bb85556da44ce31ebe5a32ab3.zip gcc-3e2e197673d9568bb85556da44ce31ebe5a32ab3.tar.gz gcc-3e2e197673d9568bb85556da44ce31ebe5a32ab3.tar.bz2 | |
re PR libstdc++/43183 (std::unique_ptr::reset() does not conform to N3035.)
2010-03-02 Jonathan Wakely <jwakely.gcc@gmail.com>
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.
From-SVN: r157158
Diffstat (limited to 'libjava/java/io/ByteArrayOutputStream.h')
0 files changed, 0 insertions, 0 deletions
