re PR libstdc++/36962 ([C++0x] Add constructors / assignment operators from...
re PR libstdc++/36962 ([C++0x] Add constructors / assignment operators from unique_ptr to shared_ptr) 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. From-SVN: r140012
Showing
- libstdc++-v3/ChangeLog 27 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/Makefile.am 2 additions, 3 deletionslibstdc++-v3/include/Makefile.am
- libstdc++-v3/include/Makefile.in 2 additions, 3 deletionslibstdc++-v3/include/Makefile.in
- libstdc++-v3/include/bits/boost_sp_shared_count.h 0 additions, 378 deletionslibstdc++-v3/include/bits/boost_sp_shared_count.h
- libstdc++-v3/include/bits/shared_ptr.h 1451 additions, 0 deletionslibstdc++-v3/include/bits/shared_ptr.h
- libstdc++-v3/include/std/memory 3 additions, 4 deletionslibstdc++-v3/include/std/memory
- libstdc++-v3/include/tr1/boost_sp_shared_count.h 0 additions, 214 deletionslibstdc++-v3/include/tr1/boost_sp_shared_count.h
- libstdc++-v3/include/tr1/memory 2 additions, 4 deletionslibstdc++-v3/include/tr1/memory
- libstdc++-v3/include/tr1/shared_ptr.h 175 additions, 280 deletionslibstdc++-v3/include/tr1/shared_ptr.h
- libstdc++-v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc 62 additions, 0 deletions...v3/testsuite/20_util/shared_ptr/assign/auto_ptr_rvalue.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc 7 additions, 7 deletions...tsuite/20_util/shared_ptr/assign/unique_ptr_lvalue_neg.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc 62 additions, 0 deletions.../testsuite/20_util/shared_ptr/assign/unique_ptr_rvalue.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc 50 additions, 0 deletionslibstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc 60 additions, 0 deletions...3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc 61 additions, 0 deletions...stsuite/20_util/shared_ptr/cons/unique_ptr_deleter_ref.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc 49 additions, 0 deletions...++-v3/testsuite/20_util/shared_ptr/cons/unique_ptr_neg.cc
- libstdc++-v3/testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc 48 additions, 0 deletions...-v3/testsuite/20_util/shared_ptr/modifiers/swap_rvalue.cc
Loading
Please register or sign in to comment