diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-10-10 12:44:05 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-10-10 12:44:05 +0100 |
commit | 208b8b69b660382eed5b1550f0ee945c614a6bb4 (patch) | |
tree | 46f9c2a44c23b9d98e738c2cf06ffeacbd6b5012 /libcpp | |
parent | 30102051a53033464e4eff65fcfb7aafd45e9f1a (diff) | |
download | gcc-208b8b69b660382eed5b1550f0ee945c614a6bb4.zip gcc-208b8b69b660382eed5b1550f0ee945c614a6bb4.tar.gz gcc-208b8b69b660382eed5b1550f0ee945c614a6bb4.tar.bz2 |
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.
From-SVN: r240917
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions