gcc/libstdc++-v3/doc/xml
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
..
gnu fdl-1.3.xml: The Free Software Foundation web site now uses https. 2018-09-29 11:25:57 +00:00
images
manual LWG 2996 add rvalue overloads for shared_ptr aliasing and casting 2019-05-23 22:41:02 +01:00
api.xml api.xml: www.fsf.org has moved to https. 2018-03-18 23:52:00 +00:00
authors.xml Remove Profile Mode, deprecated since GCC 7.1 2019-05-13 11:50:21 +01:00
book.txml
chapter.txml
class.txml
faq.xml Update documentation regarding bogus memory leaks in libstdc++ 2019-04-10 20:24:04 +01:00
spine.xml Update copyright years. 2019-01-01 13:31:55 +01:00