Glen Fernandes
970e88897c
Revise make_shared and allocate_shared for arrays
2017-02-28 03:47:09 -05:00
Peter Dimov
d641b9c436
Merge pull request #32 from pgroke-dt/z_OS_XL_C++_support
...
don't define BOOST_SP_HAS_SYNC for z/OS XL C/C++ compiler
2017-02-25 13:38:33 +02:00
Paul Groke
3bb4e4d2df
don't define BOOST_SP_HAS_SYNC for z/OS XL C/C++ compiler
2017-02-25 05:44:04 +01:00
Peter Dimov
b80ffbeb3d
Remove tools/inspect from appveyor.yml
2017-02-16 15:35:53 +02:00
Peter Dimov
5f8c2a7ee0
Remove tools/inspect from .travis.yml
2017-02-16 15:34:51 +02:00
Peter Dimov
94634cb853
Only install necessary packages in .travis.yml to speed it up
2017-02-07 01:50:59 +02:00
Peter Dimov
d4bc4c9733
Add platform matrix to .travis.yml
2017-02-06 16:51:33 +02:00
Peter Dimov
1d7f6b9bfd
Merge pull request #31 from gongminmin/ClangC2
...
Fix compiling problems under ClangC2.
2017-02-06 15:26:24 +02:00
Minmin Gong
d718d21d6b
Fix compiling problems under ClangC2.
2017-02-05 15:51:42 -08: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
Peter Dimov
53928bcc12
Merge pull request #30 from cdglove/reinterpret_pointer_cast_test
...
Add explicit tests for reinterpret_pointer_cast
2016-12-12 05:42:29 +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
bdc19dee01
Merge branch 'feature/unique_ptr_casts' into develop
2016-09-10 21:09:05 +03:00
Peter Dimov
3aa720714d
Update documentation.
2016-09-10 20:57:35 +03:00
Peter Dimov
94a04e57fb
Merge branch 'develop' into feature/unique_ptr_casts
2016-09-10 20:28:14 +03:00
Peter Dimov
776b33ec09
Merge pull request #26 from muggenhor/make_shared-constructor-forwarding
...
Add test for make_shared's move-emulation support
2016-09-10 20:27:12 +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
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