llvm-project/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const
Asher Mancinelli 34538dba9b [libc++] Make shared_ptr move unique_ptr's deleter
Addresses LWG 3548 which mandates that when shared_ptr is being constructed from a unique_ptr, the unique_ptr's deleter should be moved and not copied.

Reviewed By: #libc, philnik, EricWF

Differential Revision: https://reviews.llvm.org/D119159
2022-03-18 11:50:31 -06:00
..
auto_ptr.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
deduction.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
default.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
nullptr_t.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
nullptr_t_deleter.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
nullptr_t_deleter_allocator.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
nullptr_t_deleter_allocator_throw.pass.cpp [libc++] Make test_allocator constexpr-friendly for constexpr string/vector 2021-11-07 16:15:28 +01:00
nullptr_t_deleter_throw.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
pointer.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
pointer_deleter.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
pointer_deleter_allocator.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
pointer_deleter_allocator_throw.pass.cpp [libc++] Make test_allocator constexpr-friendly for constexpr string/vector 2021-11-07 16:15:28 +01:00
pointer_deleter_throw.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
pointer_throw.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
shared_ptr.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
shared_ptr_Y.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
shared_ptr_Y_rv.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
shared_ptr_copy_move.fail.cpp [libc++] Add missing test_macros.h include in tests using TEST_STD_VER. 2021-03-23 18:40:44 +01:00
shared_ptr_pointer.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
shared_ptr_rv.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00
unique_ptr.pass.cpp [libc++] Make shared_ptr move unique_ptr's deleter 2022-03-18 11:50:31 -06:00
weak_ptr.pass.cpp [libc++] Add test coverage for std::shared_ptr<const T> 2022-03-10 08:49:31 -05:00