diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2013-04-28 11:38:21 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2013-04-28 12:38:21 +0100 |
commit | fe807059aaaf1be52e81513df1e25ef476c56b7d (patch) | |
tree | dde84f495deb32e31bc879ea489238264f8f45c7 /libcpp/include/cpplib.h | |
parent | 35eb492bcfbc6627bb5d800d0af2cfd8bf39203f (diff) | |
download | gcc-fe807059aaaf1be52e81513df1e25ef476c56b7d.zip gcc-fe807059aaaf1be52e81513df1e25ef476c56b7d.tar.gz gcc-fe807059aaaf1be52e81513df1e25ef476c56b7d.tar.bz2 |
re PR libstdc++/51365 (cannot use final empty class in std::tuple)
PR libstdc++/51365
* include/bits/shared_ptr_base (_Sp_ebo_helper): Helper class to
implement EBO safely.
(_Sp_counted_base::_M_get_deleter): Add noexcept.
(_Sp_counter_ptr): Use noexcept instead of comments.
(_Sp_counted_deleter): Likewise. Use _Sp_ebo_helper.
(_Sp_counted_ptr_inplace): Likewise.
* testsuite/20_util/shared_ptr/cons/51365.cc: New.
* testsuite/20_util/shared_ptr/cons/52924.cc: Add rebind member to
custom allocator and test construction with custom allocator.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
line number.
From-SVN: r198367
Diffstat (limited to 'libcpp/include/cpplib.h')
0 files changed, 0 insertions, 0 deletions