gcc/libstdc++-v3/testsuite/20_util/shared_ptr/cons
Jonathan Wakely f871d7f9f4 LWG DR 2315. weak_ptr should be movable
* include/bits/shared_ptr.h (weak_ptr): Add move constructor and
	assignment.
	* include/bits/shared_ptr_base.h (__weak_count, __weak_ptr): Likewise.
	Use nullptr and injected class name.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
	* testsuite/20_util/shared_ptr/cons/void_neg.cc: Adjust dg-error.

From-SVN: r217413
2014-11-12 11:54:08 +00:00
..
39405.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
43820_neg.cc LWG DR 2315. weak_ptr should be movable 2014-11-12 11:54:08 +00:00
46910.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
51365.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
52924.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
55123.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
58659.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
58839.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
61036.cc re PR libstdc++/61036 (shared_ptr<void>(new T) rejected) 2014-05-02 19:29:48 +01:00
alias.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
alloc.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
alloc_min.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
auto_ptr.cc Add -Wno-deprecated to dg-options. 2014-11-12 10:32:17 +00:00
auto_ptr_neg.cc Add -Wno-deprecated to dg-options. 2014-11-12 10:32:17 +00:00
constexpr.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
copy.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
default.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
move.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
noexcept_move_construct.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
nullptr.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
pointer.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
unique_ptr.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
unique_ptr_array.cc Update copyright years in libstdc++-v3/ 2014-01-02 22:30:10 +00:00
unique_ptr_deleter.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
unique_ptr_deleter_ref_1.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
unique_ptr_deleter_ref_2.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
unique_ptr_neg.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
void_neg.cc LWG DR 2315. weak_ptr should be movable 2014-11-12 11:54:08 +00:00
weak_ptr.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00
weak_ptr_expired.cc libstdc++.exp: Prefer -std=gnu++11. 2014-10-16 08:09:09 +00:00