Peter Dimov
4e5d067ba8
Add local_sp_fn_test
2017-06-20 22:26:07 +03:00
Peter Dimov
827206ec57
Merge branch 'develop' into feature/local_shared_ptr
2017-06-20 22:07:53 +03:00
Peter Dimov
0cdad6421d
Add shared_ptr_fn_test
2017-06-20 22:07:12 +03:00
Peter Dimov
fb17bf685e
Add more tests; fix errors
2017-06-20 20:38:26 +03:00
Peter Dimov
052ebd1946
Merge branch 'develop' into feature/local_get_deleter
2017-06-20 19:35:23 +03:00
Peter Dimov
9fe6885078
Add more get_deleter tests
2017-06-20 19:18:30 +03:00
Peter Dimov
6e5a382b6b
Start work on get_deleter for local_shared_ptr
2017-06-20 19:01:16 +03:00
Peter Dimov
87272703c2
Add get_deleter test with an incomplete class
2017-06-20 17:47:59 +03:00
Peter Dimov
1c097b5764
Add get_deleter test with an incomplete class
2017-06-20 17:47:17 +03:00
Peter Dimov
014181e1f9
Merge branch 'develop' into feature/local_shared_ptr
2017-06-20 06:25:56 +03:00
Peter Dimov
0b9547ddad
Disable atomic_sp_constexpr_test on libc++
2017-06-20 06:25:27 +03:00
Peter Dimov
2b5869882a
Optimize make_local_shared to use a single allocation
2017-06-20 04:27:45 +03:00
Peter Dimov
1f86907a3d
Add more tests
2017-06-20 02:00:19 +03:00
Peter Dimov
685b40cc1b
Merge branch 'develop' into feature/local_shared_ptr
2017-06-20 01:49:04 +03:00
Peter Dimov
dcfb8489c6
Fix mistakes in atomic_sp_constexpr_test
2017-06-20 01:48:28 +03:00
Peter Dimov
6218c52c1a
Add make_local_shared
2017-06-20 01:42:45 +03:00
Peter Dimov
68fb786d4d
Add more tests
2017-06-19 17:36:13 +03:00
Peter Dimov
f7275b7f45
Add more tests
2017-06-19 02:30:54 +03:00
Peter Dimov
edf02ab0f9
Add more tests
2017-06-19 01:05:01 +03:00
Peter Dimov
6474847481
Make atomic_shared_ptr's default constructor constexpr
2017-06-18 07:56:42 +03:00
Peter Dimov
79e6fcdd61
Remove comment; C++11 does not guarantee this static init
2017-06-18 05:00:42 +03:00
Peter Dimov
4341446e04
#ifdef constexpr tests on msvc and clang c++11
2017-06-18 04:21:22 +03:00
Peter Dimov
0e78e219f5
Make default constructors constexpr
2017-06-18 02:43:20 +03:00
Peter Dimov
b8390aeffb
Add more tests
2017-06-17 21:24:07 +03:00
Peter Dimov
7d51c868eb
Add more tests
2017-06-17 01:34:58 +03:00
Peter Dimov
7484d4da41
Merge branch 'develop' into feature/local_shared_ptr
2017-06-16 18:40:01 +03:00
Peter Dimov
a7668291d2
Add atomic_shared_ptr
2017-06-16 18:26:17 +03:00
Peter Dimov
4dda1b5fbb
Add lsp_array_* tests
2017-06-13 18:03:01 +03:00
Peter Dimov
1d314c5668
Make null unique_ptr convert to empty shared_ptr
2017-06-13 05:50:40 +03:00
Peter Dimov
8f2e6d04de
Add more tests
2017-06-12 00:19:07 +03:00
Peter Dimov
8d9c4df71a
Add more tests
2017-06-11 20:35:51 +03:00
Peter Dimov
b18f68324f
Add more tests
2017-06-05 16:38:41 +03:00
Peter Dimov
aeadd6aeff
Initial commit of local_shared_ptr
2017-06-04 21:24:20 +03:00
Glen Fernandes
33b18c7da0
Reformat (line wrap at 80 characters)
2017-05-02 08:12:25 -04:00
Peter Dimov
acb29ad6f3
Add lwm_win32_cs_test
2017-04-16 21:02:07 +03:00
Glen Fernandes
650537da60
Update unit tests for make_unique
2017-03-06 08:36:57 -05:00
Glen Fernandes
324347b9ec
Update unit tests for shared array functions
2017-03-06 01:18:16 -05:00
Glen Fernandes
7570340d70
Add test for allocator construct usage
2017-03-01 13:03:14 -05:00
Peter Dimov
f8524c42a8
Add test for a MSVC parsing problem in make_shared
2017-03-01 12:02:30 +02:00
Peter Dimov
19147212a9
Merge pull request #29 from cdglove/rvalue_casts
...
Add rvalue versions of static_pointer_cast, const_pointer_cast, dynamic_pointer_cast, reinterpret_pointer_cast.
2016-12-12 05:45:17 +02:00
Chris Glover
9e568dad6e
Add explicit tests for reinterpret_pointer_cast. Based on existing pointer_cast tests in shared_ptr_test.cpp
2016-12-11 22:18:57 -05:00
Chris Glover
ebd1788f2c
Add test for rvalue reinterpret_pointer_cast.
2016-12-11 21:18:18 -05:00
Chris Glover
3e2ac10e94
Add rvalue versions of static_pointer_cast, const_pointer_cast, dynamic_pointer_cast, reinterpret_pointer_cast.
...
Aligns with proposed addition to std:: here: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0390r0.htm
2016-12-11 15:38:34 -05:00
Peter Dimov
61075bb9df
Move extra files to extras/ as the src/ and test/ directories are scanned for dependencies
2016-11-10 15:04:21 +02:00
Peter Dimov
3e61a63f60
Use throw() in place of noexcept on msvc-11.0,12.0 for the standard nothrow traits
2016-11-08 18:42:51 +02:00
Peter Dimov
a7fbb0a841
Do not use components removed in C++17 (auto_ptr, binary_function)
2016-11-06 15:35:46 +02:00
Peter Dimov
94a04e57fb
Merge branch 'develop' into feature/unique_ptr_casts
2016-09-10 20:28:14 +03:00
Peter Dimov
5595622c3e
Relax dynamic_cast check; rephrase const_cast test to be more MSVC-friendly.
2016-09-10 20:18:37 +03:00
Peter Dimov
2ae3e4ba44
Remove static_pointer_cast restriction; test dynamic cross cast.
2016-09-10 20:07:47 +03:00
Giel van Schijndel
b5498d944e
Add test for make_shared's move-emulation support
...
This tests the functionality added with PR boostorg/smart_ptr#24 .
Specifically this tests that passing moveable-only types to
constructors is possible through make_shared. Note that real rvalue's
still cannot be passed that way on C++03 unfortunately because there's
no generic way of accomplishing that with current move emulation.
2016-09-10 18:38:37 +02:00