Peter Dimov
bcfe1be681
Merge pull request #40 from BenjaminW3/topic-fix-nvcc
...
fix compilation for nvcc+clang
2017-08-28 10:51:22 +03:00
Benjamin Worpitz
966786e7f9
fix compilation for nvcc+clang
...
nvcc seems to use the host compiler for preprocessing the source for the device and host compilation.
When compiling the host code with the host compiler (clang), `__builtin_assume` is detected correctly and is also available during compilation.
When compiling the device code with nvcc, this builtin function is not available.
2017-08-28 08:12:48 +02:00
Peter Dimov
087471a232
Bump msvc version checks from <= 1910 to < 1920
2017-08-23 09:16:35 +03:00
Peter Dimov
06bd43d5b5
Merge branch 'develop'
2017-07-13 16:36:43 +03:00
Glen Fernandes
1758d44e4c
Add basic synopsis and description for make_local_shared
2017-07-08 08:50:59 -04:00
Peter Dimov
1c13ec0888
Remove wrong doc link from meta/libraries.json
2017-07-07 17:58:49 +03:00
Peter Dimov
cc7eb56f51
Fixed broken link in techniques.adoc
2017-07-07 14:14:54 +03:00
Peter Dimov
eb64ae8daa
Untabify pointer_cast_test2
2017-07-07 00:59:01 +03:00
Glen Fernandes
a3c8c2125a
Use has_trivial_assign in construction utilities
2017-07-04 13:45:56 -04:00
Glen Fernandes
3aa419463c
Simplify lsp state types
2017-07-01 10:00:47 -04:00
Glen Fernandes
e4ba116d7e
Minor refactoring in allocate_shared implementations
2017-06-29 22:33:43 -04:00
Glen Fernandes
864a0c80dd
Conditionally compile allocate_local_shared tests
2017-06-29 13:33:14 -04:00
Glen Fernandes
be736e5088
Implement allocate_local_shared for arrays
...
Also fix the local_shared_ptr constructor to use element_type
2017-06-29 13:05:03 -04:00
Glen Fernandes
48294c483f
Use new shared_count constructors in allocate_shared
2017-06-29 09:24:02 -04:00
Peter Dimov
13e73d6a78
Do not use UINT_MAX to avoid -Wmicrosoft-enum-value from Clang
2017-06-27 16:23:18 +03:00
Peter Dimov
20a517cc3d
Clang/C2 doesn't have _mm_pause
2017-06-27 15:41:56 +03:00
Peter Dimov
65d412c840
Execute bootstrap in subshell on Appveyor to preserve TOOLSET
2017-06-22 17:34:20 +03:00
Peter Dimov
d031d4719f
Check use counts in make_local_shared tests
2017-06-22 15:39:46 +03:00
Peter Dimov
c1979bcaf5
Check use counts in make_shared tests
2017-06-22 15:31:50 +03:00
Peter Dimov
0adb1fb212
Add shared_count constructor taking sp_counted_base*
2017-06-22 15:24:49 +03:00
Peter Dimov
7410cb1733
Update history.adoc.
2017-06-21 20:25:37 +03:00
Peter Dimov
2d087d0003
Do not use A::destroy in allocate_shared_noinit
2017-06-21 13:44:17 +03:00
Peter Dimov
ca7a01a593
Add more tests. Update Jamfile to new style.
2017-06-21 04:07:17 +03:00
Peter Dimov
314a6634d4
Merge branch 'feature/local_shared_ptr' into develop
2017-06-21 03:33:00 +03:00
Glen Fernandes
6cbc1e6775
Update allocate_shared array unit tests
...
Tests that do not always use allocator bound for element_type.
2017-06-20 20:06:59 -04:00
Peter Dimov
81e1cfe301
Merge branch 'develop' into feature/local_shared_ptr
2017-06-21 03:04:16 +03:00
Peter Dimov
eb8aa36854
Merge branch 'develop' of https://github.com/boostorg/smart_ptr into develop
2017-06-21 03:03:21 +03:00
Peter Dimov
e210c5728d
Add local_shared_ptr.adoc
2017-06-21 03:02:48 +03:00
Glen Fernandes
4046186a2d
Use BOOST_NOEXCEPT_OR_NOTHROW for get_deleter
...
throw() optimizes better there with older versions of GCC in C++98.
2017-06-20 19:27:58 -04:00
Peter Dimov
01b73a8bfa
Merge branch 'develop' into feature/local_shared_ptr
2017-06-21 02:07:27 +03:00
Peter Dimov
c85abde6b0
Update shared_ptr.adoc
2017-06-21 02:06:16 +03:00
Peter Dimov
e9523962ae
Update .travis.yml
2017-06-21 01:20:11 +03:00
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
f7f7e0183d
Merge branch 'feature/local_get_deleter' into feature/local_shared_ptr
2017-06-20 21:38:44 +03:00
Peter Dimov
f901988e57
Store shared_count in local_counted_base, not shared_ptr
2017-06-20 21:38:03 +03:00
Peter Dimov
22d150a1a9
Merge branch 'feature/local_get_deleter' into feature/local_shared_ptr
2017-06-20 20:39:04 +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
028bb2cee8
Fix get_deleter in allocate_shared_array.hpp
2017-06-20 19:33:39 +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
b104d85d95
Fix use of allocator_traits
2017-06-20 05:36:47 +03:00
Peter Dimov
e92d79c0a6
Add 14/1z to clang 3.5, 3.6, 3.7
2017-06-20 04:31:35 +03:00
Peter Dimov
2b5869882a
Optimize make_local_shared to use a single allocation
2017-06-20 04:27:45 +03:00