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 |
|
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 |
|
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 |
|
Peter Dimov
|
d0a89a81f0
|
More g++ warning suppression
|
2018-12-23 06:21:55 +02:00 |
|
Peter Dimov
|
f380d4466c
|
Avoid some g++ warnings in shared_ptr_test
|
2018-12-23 05:06:24 +02:00 |
|
Peter Dimov
|
660d26c2c3
|
Change 03/11 to 98/0x for gcc 4.4
|
2018-12-23 00:08:32 +02:00 |
|
Peter Dimov
|
a095084492
|
Improve abi_test
|
2018-12-23 00:06:13 +02:00 |
|
Peter Dimov
|
02eba55685
|
Add abi_test
|
2018-12-22 22:56:20 +02:00 |
|
Peter Dimov
|
f6c3508aee
|
Add make_local_shared_const_test
|
2018-11-10 21:04:22 +02:00 |
|
Peter Dimov
|
b7cca00408
|
Add make_shared_const_test
|
2018-11-10 20:44:00 +02:00 |
|
Peter Dimov
|
a9f39d2b94
|
Test make_shared/allocate_shared in dll_test too
|
2018-09-17 22:04:27 +03:00 |
|
Peter Dimov
|
4e2f236116
|
Add dll_test (to check for visibility issues)
|
2018-09-17 21:50:47 +03:00 |
|
Peter Dimov
|
8563fc5c4e
|
Add tests that include <windows.h>
|
2018-03-11 23:00:50 +02:00 |
|
Peter Dimov
|
f16fbdce26
|
Fix sp_interlocked on Cygwin 64
|
2018-03-08 05:15:49 +02:00 |
|
Peter Dimov
|
d1600b8abc
|
Do not define pthread_* in lightweight_thread.hpp; mingw-w64 includes pthread.h in the standard library headers
|
2018-03-08 01:19:44 +02:00 |
|
Peter Dimov
|
3b64e5ecb3
|
Add lw_thread_test
|
2018-02-19 02:02:31 +02:00 |
|
Peter Dimov
|
5877b08490
|
Disable spinlock_pool_test on msvc-9.0/release as well
|
2018-01-23 21:49:30 +02:00 |
|
Peter Dimov
|
ffe5b46f75
|
Silence MS warning about strcpy
|
2018-01-23 21:45:59 +02:00 |
|
Peter Dimov
|
4abc74fe28
|
Disable spinlock_pool_test on msvc-8.0/release
|
2018-01-23 19:05:44 +02:00 |
|