PR libstdc++/36962
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2008 22:33:10 +0000 (22:33 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 4 Sep 2008 22:33:10 +0000 (22:33 +0000)
commit5df8b36800471490ea5504b2ebb5e5151dd938fe
treea9b85eb527c9aec92b2c0cd8c2e05c88b56d1091
parent5d4f552075c57705366212ead9692a9619353333
PR libstdc++/36962
* include/Makefile.am: Update headers.
* include/Makefile.in: Regenerate.
* include/std/memory: Update headers.
* include/tr1/memory: Likewise.
* include/tr1_impl/boost_shared_ptr.h: Remove, splitting into
separate implementations for std and tr1.
* include/bits/boost_sp_shared_count.h: Remove.
* include/tr1/boost_sp_shared_count.h: Remove.
* include/bits/shared_ptr.h: New. Combines boost_sp_shared_count.h
and boost_shared_ptr.h into one file.
(__shared_count,__shared_ptr,shared_ptr,swap): Add unique_ptr
and rvalue-reference support as per current WP.
* include/tr1/shared_ptr.h: New. Combines boost_sp_shared_count.h
and boost_shared_ptr.h into one file.
* testsuite/20_util/shared_ptr/cons/unique_ptr.cc: New.
* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc: New.
* testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc: New.
* testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc: New.
* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc: New.
* testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc: New.
* testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc: New.
* testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc: New.
* testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@140012 138bc75d-0d04-0410-961f-82ee72b054a4
17 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/bits/boost_sp_shared_count.h [deleted file]
libstdc++-v3/include/bits/shared_ptr.h [new file with mode: 0644]
libstdc++-v3/include/std/memory
libstdc++-v3/include/tr1/boost_sp_shared_count.h [deleted file]
libstdc++-v3/include/tr1/memory
libstdc++-v3/include/tr1/shared_ptr.h [moved from libstdc++-v3/include/tr1_impl/boost_shared_ptr.h with 73% similarity]
libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc [moved from libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue_neg.cc with 74% similarity]
libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc [new file with mode: 0644]