gcc/libstdc++-v3/testsuite/20_util/shared_ptr
Jonathan Wakely f21f4463ad Define std::shared_ptr::weak_type
* include/bits/shared_ptr.h (shared_ptr::weak_type): Define.
	* include/bits/shared_ptr_base.h (__shared_ptr::weak_type): Define.
	* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error.
	* testsuite/20_util/shared_ptr/requirements/weak_type.cc: New test.
	* testsuite/20_util/shared_ptr/cons/void_neg.cc: Likewise.

From-SVN: r239093
2016-08-03 20:09:57 +01:00
..
assign Remove unused headers and variables from libstdc++ tests 2016-08-01 13:18:08 +01:00
atomic Update copyright years. 2016-01-04 15:30:50 +01:00
casts Update copyright years. 2016-01-04 15:30:50 +01:00
comparison Update copyright years. 2016-01-04 15:30:50 +01:00
cons Define std::shared_ptr::weak_type 2016-08-03 20:09:57 +01:00
creation Update copyright years. 2016-01-04 15:30:50 +01:00
dest Update copyright years. 2016-01-04 15:30:50 +01:00
hash Update copyright years. 2016-01-04 15:30:50 +01:00
misc Update copyright years. 2016-01-04 15:30:50 +01:00
modifiers Update copyright years. 2016-01-04 15:30:50 +01:00
observers Update copyright years. 2016-01-04 15:30:50 +01:00
requirements Define std::shared_ptr::weak_type 2016-08-03 20:09:57 +01:00
thread Use std::mt19937, std::thread and std::atomic to simplify tests 2016-07-25 11:31:53 +01:00