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'
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
Andrey Semashev
970a179ac2
Make the default constructor constexpr
2015-10-05 18:24:52 +03:00
Peter Dimov
a06123eb87
Merge branch 'develop'
2015-09-28 15:51:01 +03:00
Joachim Faulhaber
fd543d3292
Warning fixes: Conversion and unused parameter warnings
2015-09-24 14:53:40 +02:00
Peter Dimov
df90496583
Disable deprecation warnings on g++/clang
2015-09-10 23:45:47 +03:00
Peter Dimov
20ead68473
Merge branch 'develop'
2015-08-18 21:09:05 +03:00
Peter Dimov
79cde147c9
Merge pull request #17 from jzmaddock/patch-1
...
Disable explicit operator bool on Oracle C++
2015-08-18 20:54:50 +03:00
jzmaddock
abbe975e8f
Disable explicit operator bool on Oracle C++
...
Although Oracle supports this syntax, advanced usage such as:
if(my_shared_ptr && x)
Fail. Attempts to wokaround by adding additional operator overloads have so far failed.
2015-08-18 18:14:50 +01:00
Peter Dimov
8ba0730686
Merge pull request #16 from eldiener/sleep_fix_2
...
Change to Sleep declaration for clang on Windows to match Windows imp…
2015-07-23 01:52:03 +03:00
Edward Diener
686efe100b
Updated Sleep declaration only includes _mingw.h when needed.
2015-07-22 18:23:43 -04:00
Edward Diener
acb880d8c2
Change to Sleep declaration for clang on Windows to match Windows implementation being used
2015-07-22 06:51:49 -04:00
Edward Diener
1712b87cb6
Added __declspec(dllimport) for Sleep using clang on Windows.
2015-07-21 15:41:35 -04:00
Peter Dimov
f8943703f8
Merge branch 'develop'
2015-06-06 01:40:42 +03:00
Peter Dimov
a42dda0af4
Apply fix for errata 754327 for ARM Cortex-A9 suggested in ticket #11362
2015-06-06 01:40:01 +03:00
Peter Dimov
9b9b6d3ca6
Merge branch 'develop'
2015-05-12 20:13:50 +03:00
Peter Dimov
d875a68ceb
Add constructor/assignment taking boost::movelib::unique_ptr
2015-05-04 01:06:42 +03:00
Peter Dimov
8cb2c56556
Merge branch 'develop'
2015-03-20 15:04:59 +02:00
Peter Dimov
290fe82a43
Merge pull request #14 from Bjoe/changes
...
Fix bug ticket 11131
2015-03-20 03:02:09 +02:00
Jörg Böhme
94824c807f
Add missing std:: namespace
2015-03-20 00:23:58 +01:00
Jonathan Wang
334654de06
intrusive_ptr: add converting ctor for intrusive_ptr<U> with move semantics. Analagous to
...
template <class U> intrusive_ptr(intrusive_ptr<U> const&)
2015-03-15 20:17:55 -04:00
Peter Dimov
0ab0e6eecc
Merge branch 'develop'
2015-03-02 16:11:06 +02:00
Peter Dimov
effc9f73d6
Merge pull request #12 from Theodor/size_t_fix_11066
...
Add <cstddef> include. fixes #11066
2015-03-02 15:53:36 +02:00
Fedor Sergeev
99762e7dde
Add <cstddef> include. fixes #11066
2015-03-01 23:14:28 +04:00
Peter Dimov
add539142b
Merge branch 'develop'
2015-01-28 13:03:43 +02:00
Peter Dimov
e067fd2cfd
Fix comment.
2015-01-28 13:03:23 +02:00
Peter Dimov
212528860a
Merge branch 'develop'
2015-01-28 12:52:40 +02:00
Peter Dimov
711c36958a
Add an additional weak_from_raw test.
2015-01-28 12:52:10 +02:00
Peter Dimov
7104e7dc7e
Add weak_from_this.
2015-01-25 20:10:57 +02:00
Peter Dimov
254bda34b7
Merge branch 'develop'
2015-01-25 18:26:07 +02:00
Peter Dimov
3fd53ced83
Make shared_from_raw and weak_from_raw return consistent values in a constructor, regardless of order, as suggested by Gavin Lambert in #8 .
2015-01-22 20:47:01 +02:00
Peter Dimov
75de3dbcf1
Add clang-specific sp_counted_base.
2015-01-22 05:13:27 +02:00
Peter Dimov
7faec4265b
Fix conflicts with the I macro in <complex.h>.
2015-01-21 19:55:42 +02:00
Peter Dimov
c81d0806e4
Merge branch 'develop'
2015-01-16 20:53:48 +02:00
Peter Dimov
a74329794c
Fix ambiguous 'detail' errors under msvc-8.0.
2015-01-16 20:53:27 +02:00
Peter Dimov
71756350d9
Merge branch 'develop'
2015-01-15 22:00:17 +02:00
Peter Dimov
f65c57d9d2
Fix explicit instantiation regression
2014-11-12 19:04:29 +02:00