OSDN Git Service

PR libstdc++/52924
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Apr 2012 23:13:44 +0000 (23:13 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 11 Apr 2012 23:13:44 +0000 (23:13 +0000)
commit19716ee953d25f28a90d25d5be998ab9e77865ce
tree9f5d1a0a7de34fac21271eef470c8026785375b6
parent7ab9e319389a77a593d1355cffc66feb0c5cff61
PR libstdc++/52924
* include/bits/shared_ptr_base.h (_Sp_counted_deleter): Add
user-defined destructor.
(_Sp_counted_inplace): Likewise.
* testsuite/20_util/shared_ptr/cons/52924.cc: New.
* testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust dg-error
line numbers.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_7-branch@186367 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/shared_ptr_base.h
libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc
libstdc++-v3/testsuite/20_util/shared_ptr/cons/52924.cc [new file with mode: 0644]