shared_ptr_base.h: Use noexcept.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Wed, 18 May 2011 22:59:17 +0000 (22:59 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 18 May 2011 22:59:17 +0000 (23:59 +0100)
commitcf70f97b951b303ba913a54d7831475af1c2d113
treeafa684e92abc5e3daf28b369c11046c2c298e898
parent31f9eb59e568af9c0a74927727f206775ea3da55
shared_ptr_base.h: Use noexcept.

2011-05-18  Jonathan Wakely  <jwakely.gcc@gmail.com>

* include/bits/shared_ptr_base.h: Use noexcept. Define special member
functions as defaulted/deleted.
* include/bits/shared_ptr.h: Use noexcept.
* 20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error line numbers.
* 20_util/weak_ptr/comparison/cmp_neg.cc: Likewise.

From-SVN: r173882
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr.h
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc
libstdc++-v3/testsuite/20_util/weak_ptr/comparison/cmp_neg.cc