gcc/libstdc++-v3/testsuite
Jonathan Wakely fb3fc4bded LWG 2996 add rvalue overloads for shared_ptr aliasing and casting
* doc/xml/manual/intro.xml: Document LWG DR 2996 change.
	* doc/html/*: Regenerate.
	* include/bits/shared_ptr.h (shared_ptr(shared_ptr&&, T*)): Add
	rvalue aliasing constructor.
	(static_pointer_cast, const_pointer, dynamic_pointer_cast)
	(reinterpret_pointer_cast): Add overloads taking rvalues.
	* include/bits/shared_ptr_base.h (__shared_ptr(__shared_ptr&&, T*)):
	Add rvalue aliasing constructor.
	* testsuite/20_util/shared_ptr/casts/1.cc: Change "compile" test to
	"run" and check return values as well as types.
	* testsuite/20_util/shared_ptr/casts/reinterpret.cc: Likewise.
	* testsuite/20_util/shared_ptr/casts/rval.cc: New test.
	* testsuite/20_util/shared_ptr/cons/alias-rval.cc: New test.
	* testsuite/20_util/shared_ptr/cons/alias.cc: Remove unused return
	values.

From-SVN: r271583
2019-05-23 22:41:02 +01:00
..
17_intro Fix failing tests for use of non-reserved names 2019-05-20 15:38:21 +01:00
18_support
19_diagnostics Add test for std::hash<std::error_code> 2019-05-07 16:30:29 +01:00
20_util LWG 2996 add rvalue overloads for shared_ptr aliasing and casting 2019-05-23 22:41:02 +01:00
21_strings Move from state of allocators (LWG2593) 2019-05-17 04:55:37 +00:00
22_locale
23_containers 2019-05-17 François Dumont <fdumont@gcc.gnu.org> 2019-05-17 16:27:54 +00:00
24_iterators
25_algorithms Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
26_numerics From what I understand of the libstdc++/83237 thread at 2019-05-23 18:02:05 +00:00
27_io PR libstdc++/90557 fix path assignment that alters source 2019-05-22 23:14:34 +01:00
28_regex
29_atomics
30_threads LWG 2921 remove packaged_task constructors taking allocators 2019-05-23 22:40:56 +01:00
abi
backward
config
data
decimal
experimental PR libstdc++/90220 fix experimental::any_cast for non-object types 2019-05-23 14:39:06 +01:00
ext Remove obsolete Solaris 10 support 2019-05-14 17:17:23 +00:00
lib PR libstdc++/90252 fix effective-target check for TBB 2019-05-21 14:50:41 +01:00
libstdc++-abi
libstdc++-dg
libstdc++-prettyprinters Add __gnu_test::NullablePointer utility to testsuite 2019-05-14 12:17:23 +01:00
libstdc++-xmethods
performance
special_functions
tr1
tr2
util PR libstdc++/90557 fix path assignment that alters source 2019-05-22 23:14:34 +01:00
Makefile.am Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
Makefile.in Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00