Glen Fernandes
|
63a05a3576
|
Refactor make_array_helper and array_deleter
Reduce the amount of code in allocate_array_helper, make_array_helper, and
array_deleter using the empty base class optimization technique.
|
2014-02-03 07:28:01 -08:00 |
|
Glen Fernandes
|
7806737b52
|
Add make_unique for arrays and objects
|
2014-01-28 03:58:51 -08:00 |
|
Glen Fernandes
|
87e5debdc2
|
Minor cosmetic changes in make_shared for arrays
|
2014-01-28 03:40:54 -08:00 |
|
Glen Fernandes
|
630e4f49f3
|
Update make_shared for arrays to conform to N3870
Update make_shared and allocate_shared for arrays to be confined to the
set of overloads specified in N3870.
|
2014-01-23 20:40:46 -08:00 |
|
Peter Dimov
|
d7fa365843
|
Remove obsolete _nmt headers.
|
2013-12-14 00:15:51 +02:00 |
|
Peter Dimov
|
6e0ee30543
|
Update atomic_count.hpp to match sp_counted_base.hpp.
|
2013-12-14 00:01:01 +02:00 |
|
Peter Dimov
|
fed15ad8c5
|
Add support for BOOST_SP_USE_STD_ATOMIC
|
2013-12-13 22:58:09 +02:00 |
|
Peter Dimov
|
bba3b446bd
|
Check return values of pthread_* calls with BOOST_VERIFY, per #8898
|
2013-12-12 02:36:33 +02:00 |
|
Peter Dimov
|
4c8a558982
|
Check return values of pthread_* calls with BOOST_VERIFY, per #8904.
|
2013-12-12 01:42:16 +02:00 |
|
Peter Dimov
|
a4f853bfbc
|
Revert "SmartPtr: Remove obsolete MSVC version checks."
This reverts commit 7d1c527ac0.
|
2013-12-07 19:25:05 +02:00 |
|
Peter Dimov
|
832ed079b9
|
Revert "Revert MSC_VER changes."
This reverts commit 382fb54a52.
|
2013-12-07 19:24:44 +02:00 |
|
Peter Dimov
|
d9b29beebe
|
Revert "Remove obsolete MSVC check from pragma guard"
This reverts commit e4f24e4d3d.
|
2013-12-07 19:22:43 +02:00 |
|
Peter Dimov
|
5f69684c8f
|
Revert "SmartPointer: Remove obsolete GCC version checks."
This reverts commit 0e6ddb843e.
|
2013-12-07 19:21:06 +02:00 |
|
Stephen Kelly
|
0e6ddb843e
|
SmartPointer: Remove obsolete GCC version checks.
[SVN r86063]
|
2013-09-30 15:57:14 +00:00 |
|
Peter Dimov
|
fa91b7d020
|
Remove #pragma intrinsic( _mm_pause ); not needed, not supported on Intel. Refs #6646, #7318.
[SVN r85995]
|
2013-09-29 11:31:17 +00:00 |
|
Peter Dimov
|
382fb54a52
|
Revert MSC_VER changes.
[SVN r85993]
|
2013-09-29 10:43:15 +00:00 |
|
Stephen Kelly
|
e4f24e4d3d
|
Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq
is now clean.
[SVN r85952]
|
2013-09-26 13:02:51 +00:00 |
|
Stephen Kelly
|
7d1c527ac0
|
SmartPtr: Remove obsolete MSVC version checks.
[SVN r85929]
|
2013-09-26 09:39:50 +00:00 |
|
Peter Dimov
|
82e178f043
|
Avoid stack overflow in make_shared. Refs #4256.
[SVN r83198]
|
2013-02-28 08:02:09 +00:00 |
|
Glen Fernandes
|
46d119c385
|
Identifier renaming in allocate_array_helper, array_deleter, make_array_helper
function parameters to satisfy higher warning levels.
[SVN r82971]
|
2013-02-18 09:33:18 +00:00 |
|
Glen Fernandes
|
32a28ec462
|
Support BOOST_NO_EXCEPTIONS in detail/array_utility.hpp to allow use when exceptions are disabled
[SVN r82408]
|
2013-01-08 21:39:54 +00:00 |
|
Peter Dimov
|
ef817e91d2
|
Replace std::nullptr_t with boost::detail::sp_nullptr_t.
[SVN r82351]
|
2013-01-04 15:41:13 +00:00 |
|
Peter Dimov
|
e8be24c003
|
Untabify.
[SVN r82188]
|
2012-12-23 16:05:00 +00:00 |
|
Peter Dimov
|
647f67aabf
|
Replace use of BOOST_HAS_RVALUE_REFS with !BOOST_NO_CXX11_RVALUE_REFERENCES.
[SVN r81900]
|
2012-12-13 16:48:57 +00:00 |
|
Glen Fernandes
|
619b168614
|
Two detail utility functions identifier renaming reverted
[SVN r81887]
|
2012-12-13 04:20:23 +00:00 |
|
Glen Fernandes
|
4ba8d879f1
|
Use BOOST_NO_CXX11_RVALUE_REFERENCES and BOOST_NO_CXX11_VARIADIC_TEMPLATES instead of the legacy macros. Rename identifiers of detail utility functions.
[SVN r81886]
|
2012-12-13 04:04:23 +00:00 |
|
Peter Dimov
|
fd52dbc411
|
Change make_shared to use the new _internal_get_untyped_deleter. Refs #6830.
[SVN r81860]
|
2012-12-11 18:21:29 +00:00 |
|
Glen Fernandes
|
6e269872df
|
Explicitly name detail array construct overloads for different parameter types.
[SVN r81859]
|
2012-12-11 18:04:09 +00:00 |
|
Glen Fernandes
|
6b0d96af96
|
Convert function parameter for inner array size into template parameter and make identifiers in array_deleter consistent with those in array_utility
[SVN r81782]
|
2012-12-08 05:25:50 +00:00 |
|
Peter Dimov
|
8093967da7
|
Use explicit operator bool when available; add nullptr support to shared_ptr. Refs #4116.
[SVN r81780]
|
2012-12-08 00:51:59 +00:00 |
|
Glen Fernandes
|
f390d9e265
|
Change ordering of overload definitions in array_utility.hpp
[SVN r81759]
|
2012-12-07 16:40:20 +00:00 |
|
Glen Fernandes
|
ea22982865
|
Correctly use r-value reference semantics for Args and T in array utilities
[SVN r81752]
|
2012-12-07 07:42:42 +00:00 |
|
Glen Fernandes
|
09e77bc8df
|
Optimization in initialization overload of array_construct for compilers to optimize it into the equivalent of a memset
[SVN r81750]
|
2012-12-07 06:45:26 +00:00 |
|
Glen Fernandes
|
b3f2ebedbc
|
Special case array construction for trivially default-constructible types and array destruction for trivially-destroyable types.
[SVN r81749]
|
2012-12-07 03:10:22 +00:00 |
|
Glen Fernandes
|
1209531fe0
|
Refactoring in detail array_deleter before adding support for special-casing trivially default-constructible construction and trivially destroyable destruction.
[SVN r81748]
|
2012-12-07 01:53:35 +00:00 |
|
Glen Fernandes
|
2d3cc0db7d
|
Update documentation and remove unused code.
[SVN r81703]
|
2012-12-04 11:21:24 +00:00 |
|
Glen Fernandes
|
188602581d
|
Add overloads of make_shared and allocate_shared for arrays for E&& where E is typename boost::detail::array_base<T>::type
[SVN r81700]
|
2012-12-04 06:06:23 +00:00 |
|
Glen Fernandes
|
1adf546ddb
|
Minor cosmetic change in detail array_deleter
[SVN r81685]
|
2012-12-03 05:56:17 +00:00 |
|
Glen Fernandes
|
5e5ff387fa
|
For fixed size arrays upon constructor exception thrown destroy correctly.
[SVN r81684]
|
2012-12-03 05:41:34 +00:00 |
|
Glen Fernandes
|
500913db6d
|
Make specializations of detail array_deleter consistent.
[SVN r81681]
|
2012-12-02 22:05:31 +00:00 |
|
Glen Fernandes
|
cfd4152291
|
Change make_shared and allocate_shared array form overload for size and inner array initialization list to use const T(&)[N] instead of std::initializer_list<T>.
[SVN r81658]
|
2012-12-01 22:43:57 +00:00 |
|
Glen Fernandes
|
f5adfb0963
|
Code consistency: Use the same style of #if conditional compilation checks in allocate_shared_array.hpp and make_shared_array.hpp.
[SVN r81643]
|
2012-12-01 05:40:06 +00:00 |
|
Glen Fernandes
|
4da0e2b7fc
|
Use const T (&)[N] for fixed size arrays instead of std::initializer<T> in overloads of make_shared and allocate_shared for arrays.
[SVN r81641]
|
2012-12-01 04:36:41 +00:00 |
|
Glen Fernandes
|
39ff002d2e
|
More consistency in type parameters in helper details of allocate_shared and make_shared.
[SVN r81610]
|
2012-11-28 07:32:30 +00:00 |
|
Glen Fernandes
|
b17205ded7
|
Optimization: Add specializations of make_array_helper, allocate_array_helper, and array_deleter for fixed size arrays to avoid storing size.
[SVN r81608]
|
2012-11-28 06:07:45 +00:00 |
|
Peter Dimov
|
d74c09dd5a
|
Apply patch from #7722. Refs #7722.
[SVN r81488]
|
2012-11-22 17:39:27 +00:00 |
|
Glen Fernandes
|
ddfcc5f417
|
Make make_shared_array.hpp and allocate_shared_array.hpp consistent with namespace qualification in rest of smart_ptr.
[SVN r81409]
|
2012-11-18 02:51:06 +00:00 |
|
Peter Dimov
|
94b6487ca1
|
Replace std::forward with detail::sp_forward.
[SVN r81399]
|
2012-11-17 16:21:41 +00:00 |
|
Peter Dimov
|
cf769b94a7
|
Apply BOOST_NOEXCEPT patch. Refs #7523.
[SVN r81368]
|
2012-11-16 15:05:25 +00:00 |
|
Peter Dimov
|
7adb1cc1ec
|
Reorder HP aCC and g++ #ifdefs. Refs #7693.
[SVN r81348]
|
2012-11-14 18:24:05 +00:00 |
|