Commit Graph

405 Commits

Author SHA1 Message Date
Peter Dimov
bcb2566e74 Disable dll_test_shared under UBSan 2023-03-06 08:01:35 +02:00
Peter Dimov
c577d68b02 Disable make_shared_move_emulation_test for Clang 3.5, 3.6, 3.7 2022-10-20 00:19:59 +03:00
Peter Dimov
7e9c54ffa2 Disable -Wdeprecated-builtins for Clang 15 - the warning comes from Boost.Move 2022-10-19 20:52:55 +03:00
Peter Dimov
ca8d5216fc Remove new char[12345]; from smart_ptr_test, because it causes ASAN to fail 2022-10-19 20:50:16 +03:00
Glen Fernandes
6716193d9c Add get_allocator_pointer 2021-12-16 11:26:11 -05:00
Peter Dimov
eba3cf92e7 Disable failing tests on 4.4 in addition to 4.4.7 2021-06-08 05:58:06 +03:00
Peter Dimov
8340a13539 Merge branch 'feature/move-up-deleter' into feature/move-only-deleter 2021-05-11 18:03:35 +03:00
Peter Dimov
098d0f4ce3 Disable sp_unique_ptr_test2 on msvc-10.0 2021-05-11 15:54:21 +03:00
Peter Dimov
fec5fb97c8 Enable move-only deleters in the nullptr_t constructors 2021-05-11 02:15:27 +03:00
Peter Dimov
b52d7548b3 Enable move-only deleters in the allocator constructor 2021-05-11 02:05:28 +03:00
Peter Dimov
594c7485a5 Enable move-only deleters 2021-05-11 01:59:01 +03:00
Peter Dimov
d751041fb9 Add more test cases to sp_unique_ptr_test2 2021-05-11 01:33:48 +03:00
Peter Dimov
d41546ddce Move the unique_ptr deleter instead of copying it 2021-05-11 01:20:02 +03:00
Peter Dimov
b66fe51566 Avoid g++ 4.4 conflict between hash() and boost::hash 2020-06-06 00:15:58 +03:00
Peter Dimov
1b5568d585 Add sp_unordered_test 2020-06-05 18:54:44 +03:00
Peter Dimov
fad0c20263 Add owner_hash 2020-06-05 18:45:00 +03:00
Peter Dimov
a0fc1e6daa Add wp_unordered_test 2020-06-04 20:52:17 +03:00
Peter Dimov
5dd84ea389 Add .owner_hash_value to shared/weak_ptr, hash_value, std::hash/equal_to specializations for weak_ptr 2020-06-04 20:40:57 +03:00
Peter Dimov
bc677e9098 Do not require boost::hash in the std::hash specializations 2020-06-03 17:38:03 +03:00
Peter Dimov
688cfed63e Add Boost::bind to CMake test dependencies 2020-06-03 07:38:07 +03:00
Peter Dimov
6c181a0707 When BOOST_SP_REPORT_IMPLEMENTATION is defined, report what platform-specific atomic implementation is used 2020-06-02 20:51:38 +03:00
Peter Dimov
4047290b85 Add multithreaded tests 2020-06-02 18:58:45 +03:00
Peter Dimov
5a18ffdc56 Add std::hash specializations for shared_ptr, local_shared_ptr, intrusive_ptr 2020-06-02 05:59:23 +03:00
Peter Dimov
c7c0eacb74 Add initializers to eq and lt 2020-06-01 15:08:53 +03:00
Peter Dimov
77c2d4cad7 Add owner_less_test2 2020-06-01 03:13:42 +03:00
Peter Dimov
fd612dc114 Add owner_equal_to 2020-06-01 03:05:34 +03:00
Peter Dimov
91f3aa0386 Add local_shared_ptr::owner_equals 2020-06-01 01:35:25 +03:00
Peter Dimov
686a354f21 Add lsp_owner_before_test 2020-06-01 01:16:46 +03:00
Peter Dimov
58915ca2fe Add owner_equals 2020-05-31 21:41:06 +03:00
Peter Dimov
951ff783b5 Add sp_owner_before_test 2020-05-31 20:33:24 +03:00
Peter Dimov
6421394e70 Fix msvc-8.0 failures 2020-05-31 20:14:25 +03:00
Edward Diener
c6b3700ef1 Merge branch 'develop' of https://github.com/boostorg/smart_ptr into cppbuilder 2020-05-06 11:32:12 -04:00
Peter Dimov
02cc561248 Only use warnings-as-errors on msvc, gcc, clang 2020-04-28 05:05:57 +03:00
Peter Dimov
9c43c69c14 Add sp_pedantic_test 2020-04-26 19:57:05 +03:00
Edward Diener
df06c324a7 Merge branch 'develop' of https://github.com/boostorg/smart_ptr into cppbuilder 2020-04-19 02:49:06 -04:00
Peter Dimov
0ddfab493c Do not enable -Wsuggest-override in C++03 mode 2020-04-14 07:12:35 +03:00
Peter Dimov
7ab4093f46 Use shared_ptr and make_shared in sp_override_test 2020-04-14 00:32:25 +03:00
Peter Dimov
296c203135 Rename sp_warning_test to sp_override_test 2020-04-14 00:15:32 +03:00
Peter Dimov
977544feda Add sp_warning_test 2020-04-08 21:25:36 +03:00
Peter Dimov
54b5498208 Manually convince clang-cl to fail shared_from_fail and weak_from_fail 2020-04-02 04:01:21 +03:00
Peter Dimov
da81452f1f Make shared_from_this and weak_from_this private in enable_shared_from. Fixes #75. 2020-04-02 02:16:59 +03:00
Peter Dimov
7b9a969215 Add deduction guides to shared_ptr and weak_ptr. Fixes #73. 2020-04-02 00:28:02 +03:00
Edward Diener
cd562eb053 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-26 17:17:22 -04:00
Peter Dimov
e0c7bd9a7e Don't build tests when installing; link to Threads::Threads in tests because of lw_thread_test.cpp 2020-01-10 00:54:01 +02:00
Peter Dimov
bfbdf4f45f Add CMake install support, tests 2020-01-08 05:08:37 +02:00
Glen Fernandes
43d1fe12c5 Include lightweight_test from core and workaround from config 2020-01-01 08:31:25 -05:00
Glen Fernandes
034f94617d Workaround for VC10 unique_ptr operator-> 2019-08-30 12:03:36 -04:00
Glen Fernandes
6a5f67b3a2 Disable tests on VC10 which lacks conforming unique_ptr 2019-08-30 10:50:56 -04:00
Glen Fernandes
dcd3c8ef80 In test cases, include allocate_unique first 2019-08-30 08:17:54 -04:00
Glen Fernandes
bb2a453ff6 Add additional test cases 2019-08-30 08:16:11 -04:00