43183.cc
1.28 KB
-
re PR libstdc++/43183 (std::unique_ptr::reset() does not conform to N3035.) · 3e2e1976
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
Jonathan Wakely committed