r240917 - in /trunk/libstdc++-v3: ChangeLog inc...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Oct 10 11:44:00 GMT 2016


Author: redi
Date: Mon Oct 10 11:44:05 2016
New Revision: 240917

URL: https://gcc.gnu.org/viewcvs?rev=240917&root=gcc&view=rev
Log:
Add noexcept to enable_shared_from_this::weak_from_this

	* include/bits/shared_ptr.h (enable_shared_from_this::weak_from_this):
	Add noexcept.
	* include/bits/shared_ptr_base.h
	(__enable_shared_from_this::weak_from_this): Likewise.
	* testsuite/20_util/enable_shared_from_this/members/weak_from_this.cc:
	Test exception-specification of weak_from_this.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/bits/shared_ptr.h
    trunk/libstdc++-v3/include/bits/shared_ptr_base.h
    trunk/libstdc++-v3/testsuite/20_util/enable_shared_from_this/members/weak_from_this.cc



More information about the Libstdc++-cvs mailing list