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 |
|
Glen Fernandes
|
60c26acab8
|
Implement allocate_unique
|
2019-08-30 00:31:28 -04:00 |
|
Peter Dimov
|
6195ae1eb0
|
Disable -Wdelete-non-virtual-dtor
|
2019-08-29 12:27:51 +03:00 |
|
Glen Fernandes
|
af92bd89ef
|
allocation_ptr will be modified, renamed, and moved to detail
|
2019-05-05 22:21:22 -04:00 |
|
Glen Fernandes
|
4742143605
|
Support allocation_ptr of const and volatile types
|
2019-05-04 09:43:11 -04:00 |
|
Glen Fernandes
|
c0ae9b3728
|
Implement allocation_ptr
|
2019-05-02 19:26:29 -04:00 |
|
Peter Dimov
|
f56e609757
|
Fix mistake in weak_from_this_test
|
2019-04-24 04:57:37 +03:00 |
|
Peter Dimov
|
8df63a3d0e
|
Add tests for enable_shared_from
|
2019-04-24 04:50:59 +03:00 |
|
Peter Dimov
|
719e819570
|
Under g++ 4.4, <memory> doesn't compile with rtti=off
|
2019-04-22 15:57:56 +03:00 |
|
Peter Dimov
|
f17c5e8e3b
|
Add a few no_rtti tests
|
2019-04-22 05:43:08 +03:00 |
|
Peter Dimov
|
e306b30dcf
|
Use a private detail/sp_typeinfo header instead of the deprecated Core one
|
2019-04-22 05:25:07 +03:00 |
|
Peter Dimov
|
78e095d761
|
Disable tests that don't compile on msvc-8.0
|
2019-04-21 22:50:24 +03:00 |
|
Peter Dimov
|
eb8a91cb46
|
Add tests for the weak_ptr aliasing constructors
|
2019-04-21 22:44:09 +03:00 |
|
Peter Dimov
|
8120bb44cb
|
Add rvalue pointer casts (closes #66)
|
2019-04-21 00:47:36 +03:00 |
|
Peter Dimov
|
18974ea2db
|
Add cast tests to intrusive_ptr_test
|
2019-04-20 18:54:13 +03:00 |
|
Peter Dimov
|
2a4aca403a
|
Merge branch 'develop' into feature/intrusive-ptr-tests
|
2019-04-20 18:15:31 +03:00 |
|
Peter Dimov
|
4d0d81477c
|
Update msvc workarounds for 14.2
|
2019-04-20 18:15:05 +03:00 |
|
Peter Dimov
|
1725e26f70
|
Add assignment tests to intrusive_ptr_test
|
2019-04-20 18:02:11 +03:00 |
|
Peter Dimov
|
599d0bbba9
|
Add test/cmake_subdir_test
|
2019-01-05 19:43:22 +02:00 |
|