Peter Dimov
8fac3c9f2f
Add one more dynamic_cast test, fold back _test3 into test2.
2016-09-10 19:15:47 +03:00
Peter Dimov
a14515a364
Add negative pointer cast tests.
2016-09-10 18:43:22 +03:00
Peter Dimov
190c06e25d
Add tests for unique_ptr casts.
2016-09-10 17:55:14 +03:00
Peter Dimov
62a8a9d6cc
Merge branch 'karo/unique_ptr_casts' of https://github.com/koraa/smart_ptr into feature/unique_ptr_casts
2016-09-10 14:48:26 +03:00
Peter Dimov
48401806f4
Merge branch 'make_shared-constructor-forwarding' of https://github.com/muggenhor/boost-smart_ptr into develop
2016-09-10 14:24:52 +03:00
Peter Dimov
02de302774
Merge branch 'suppress-weak-vtables-warning' of https://github.com/Kojoley/smart_ptr into develop
2016-09-10 13:55:20 +03:00
Peter Dimov
80597b379e
Copy repo instead of doing a checkout, for pull requests.
2016-09-10 13:47:05 +03:00
Peter Dimov
840e9fc96e
Apply MIPS16 patch from ticket #12418
2016-09-02 20:13:15 +03:00
Nikita Kniazev
70367e848e
Suppress weak vtables warnings
2016-08-31 17:32:09 +03:00
Peter Dimov
e8daeaee1c
Enable Travis notifications on success
2016-08-28 22:37:10 +03:00
Peter Dimov
3b9ae9fd5f
Switch from msvc-12.0 to msvc-14.0 on Appveyor
2016-08-28 22:01:59 +03:00
Peter Dimov
20fedcff2c
Use <atomic> by default when BOOST_NO_CXX11_HDR_ATOMIC is not defined
2016-08-28 21:28:21 +03:00
Giel van Schijndel
de38a735ea
boost::make_shared: use Constructor Forwarding on C++03
...
Use Boost.Move's move emulation and documented Constructor Forwarding
technique to provide (partial) constructor forwarding on compilers that
don't support r-value references.
This allows constructing types taking movable-but-not-copyable types as
constructor arguments. Additionally it's generally more efficient for
movable-and-copyable types, but that's just a nice-to-have.
2016-07-25 15:02:57 +02:00
Karolin Varner
ce52fb1045
pointer_casts with move semantics for unique_ptr
2016-06-06 16:08:26 +02:00
Karolin Varner
6b787f1cec
Add overloads for std::shared_ptr to pointer casts
2016-06-06 14:51:44 +02:00
Karolin Varner
2185c4f005
Fix a documentation typo
2016-06-05 23:32:45 +02:00
Karolin Varner
6d5f554baa
Reuse code for plain and shared in ptr cast tests
2016-06-05 23:32:45 +02:00
Peter Dimov
f3279d24b4
Merge branch 'develop'
boost-1.62.0
2016-05-21 22:45:34 +03:00
Peter Dimov
c87b6e8af8
Add .travis.yml
2016-05-21 22:07:23 +03:00
Peter Dimov
aaded4f85c
Merge branch 'develop'
2016-05-21 20:48:54 +03:00
Peter Dimov
eb1a002e34
Create README.md
2016-05-21 19:34:15 +03:00
Peter Dimov
3304a56101
Merge branch 'develop'
2016-05-21 18:55:46 +03:00
Peter Dimov
181f38682f
Add appveyor.yml.
2016-05-21 18:23:41 +03:00
Peter Dimov
5b1a8412c3
Merge branch 'develop'
2016-05-21 01:11:22 +03:00
Peter Dimov
e52905cf3c
Add intrusive_ptr converting move assignment.
2016-05-17 18:43:41 +03:00
Peter Dimov
b7f99ceba6
Update intrusive_ptr_move_test with converting move construction.
2016-05-17 18:36:50 +03:00
Peter Dimov
a7ade6f062
Remove unnecessary #ifdef
2016-05-17 18:34:18 +03:00
Peter Dimov
097d2e9bf9
Merge branch 'intrusive_ptr_move' of https://github.com/jtwang83/smart_ptr into develop
2016-05-17 18:29:29 +03:00
Peter Dimov
d44a78d671
Merge branch 'develop'
2016-05-17 18:10:45 +03:00
Peter Dimov
582eb63cb3
Merge pull request #18 from joachim-faulhaber/smart_ptr_patches_1_59_0
...
Warning fixes: Conversion and unused parameter warnings
2016-05-17 18:07:32 +03:00
Peter Dimov
181b449a57
Merge branch 'develop'
2016-05-17 18:01:36 +03:00
Peter Dimov
da8de3e95b
Merge pull request #19 from Lastique/patch-4
...
Make the default intrusive_ptr constructor constexpr
2016-05-17 17:59:10 +03:00
Peter Dimov
6c27833099
Merge branch 'develop'
2016-05-17 17:46:15 +03:00
Glen Fernandes
83e6e00456
Merge branch 'develop'
boost-1.61.0
2016-04-13 08:01:21 -04:00
Peter Dimov
522f6c1869
Add more aliasing move test cases, add alias move reset
2016-04-13 14:31:43 +03:00
Peter Dimov
cd8de9d4a6
Merge branch 'move-alias' of https://github.com/uecasm/smart_ptr into develop
2016-04-13 13:29:50 +03:00
Glen Fernandes
e26542272d
Use remove_reference in make_unique implementation
2016-02-19 08:14:02 -05:00
Glen Fernandes
e13beef5df
Fix formatting in headers and tests
2016-02-19 08:13:54 -05:00
Glen Fernandes
8298952a12
Update unit tests for make_shared/allocate_shared for arrays
...
Before pending refactor of make_shared and allocate_shared for arrays.
2016-02-19 08:13:41 -05:00
Glen Fernandes
821925c536
Refactor make_unique implementations
...
Before the pending refactor of make_shared/allocate_shared for arrays.
2016-02-19 08:13:27 -05:00
Glen Fernandes
427124543b
Use remove_reference in make_unique implementation
2016-02-19 08:09:25 -05:00
Peter Dimov
46f00ea993
Fix hash support for shared_ptr<T[]>, <T[N]>
2016-02-08 20:47:52 +02:00
Peter Dimov
4473bf8ec2
Fix hash support for shared_ptr<T[]>, <T[N]>
2015-12-15 19:13:20 +02:00
Glen Fernandes
7a7ac4512e
Fix formatting in headers and tests
2015-11-11 01:26:15 -05:00
Glen Fernandes
38b6334e36
Update unit tests for make_shared/allocate_shared for arrays
...
Before pending refactor of make_shared and allocate_shared for arrays.
2015-11-09 22:35:34 -05:00
Glen Fernandes
7af503d3bb
Refactor make_unique implementations
...
Before the pending refactor of make_shared/allocate_shared for arrays.
2015-11-08 11:02:06 -05:00
Peter Dimov
4db7219c32
Merge branch 'develop'
boost-1.60.0
2015-10-27 20:12:16 +02:00
Ion Gaztañaga
3f17244225
Removed the intrin.h-related part
...
Removed the commented part as the comment clearly says that VC9 has problems when intrin.h is included.
2015-10-18 19:44:17 +02:00
Ion Gaztañaga
ca93749614
Support MSVC-7.1/ intrin.h available >= MSVC-8.0
...
-> MSVC 7.1 has no intrin.h and needs to use "#pragma intrinsic".
-> intrin.h available since Visual 2005
2015-10-18 12:51:13 +02:00
Gavin Lambert
05d5a4e9a0
Added shared_ptr aliasing move constructor.
...
Signed-off-by: Gavin Lambert <github@mirality.co.nz >
2015-10-12 18:19:22 +13:00