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 |
|
Glen Fernandes
|
6b2556edfb
|
Add additional overload for allocate_shared and make_shared array forms that take initializer list of T for the array types T[M][N]
[SVN r81341]
|
2012-11-14 15:18:50 +00:00 |
|
Glen Fernandes
|
0e90213746
|
Change traits for initializer list for g++
[SVN r81276]
|
2012-11-10 02:17:02 +00:00 |
|
Glen Fernandes
|
980070e63f
|
Add final overload of make_shared and allocate_shared (array forms) for T[][N] with C++11 initializer lists.
[SVN r81275]
|
2012-11-10 01:33:29 +00:00 |
|
Glen Fernandes
|
8cc50a5ce9
|
Add assertion to overload of make_shared and allocate_shared for T[N] with initializer lists. Rename detail type to be more intuitive.
[SVN r81267]
|
2012-11-09 18:01:39 +00:00 |
|
Glen Fernandes
|
2731957b5b
|
Add additional overload for make_shared and allocate_shared for arrays for fixed size arrays and initializer lists.
[SVN r81266]
|
2012-11-09 17:30:07 +00:00 |
|
Glen Fernandes
|
fe06c120b9
|
Add overloads to support fixed size arrays, T[N], to allocate_shared (variadic) and make_shared (variadic) and make_shared_noinit.
[SVN r81265]
|
2012-11-09 17:12:56 +00:00 |
|
Glen Fernandes
|
ffa3327817
|
For allocate_shared and make_shared: Separate test case that g++ does support yet. Remove macros testing for no partial specialization in traits. Add additional traits.
[SVN r81261]
|
2012-11-09 16:06:48 +00:00 |
|
Glen Fernandes
|
3d50db11b9
|
Add C++11 initializer list support for make_shared and allocate_shared array forms.
[SVN r81257]
|
2012-11-09 06:17:05 +00:00 |
|
Peter Dimov
|
aa7562c3e5
|
Add support for shared_ptr<X[N>.
[SVN r81253]
|
2012-11-08 18:07:49 +00:00 |
|
Glen Fernandes
|
89190ca17e
|
Simplify array_deleter interface
[SVN r81237]
|
2012-11-07 18:58:41 +00:00 |
|
Glen Fernandes
|
5d9312239c
|
Update allocate_shared and make_shared to treat multidimensional array as single dimension. Remove detail array_helper. Add detail array traits. Update tests.
[SVN r81236]
|
2012-11-07 18:37:17 +00:00 |
|
Glen Fernandes
|
93b5cace12
|
Fix array_helper (create_noinit and use of args...).
[SVN r81235]
|
2012-11-07 15:36:15 +00:00 |
|
Glen Fernandes
|
dbea328b8b
|
Don't treat array_helper create and create_noinit for array types as a special case.
[SVN r81233]
|
2012-11-07 15:25:55 +00:00 |
|
Glen Fernandes
|
734b5d1354
|
Update smart_ptr/detail/array_helper to have create and create_noinit for non-array case.
[SVN r81231]
|
2012-11-07 15:04:04 +00:00 |
|
Peter Dimov
|
0467af1b83
|
Fix sp_convertible<T const[], T const[]>.
[SVN r81230]
|
2012-11-07 15:00:24 +00:00 |
|
Glen Fernandes
|
dc5406aa5a
|
Add support for make_shared of array of arrays. Correctly destroy elements and construct elements for the variadic template constructor variants.
[SVN r81229]
|
2012-11-07 14:42:10 +00:00 |
|
Peter Dimov
|
d8eb2fc105
|
Fix g++ issues.
[SVN r81222]
|
2012-11-06 15:10:32 +00:00 |
|
Glen Fernandes
|
6662ae7242
|
Add allocate_shared and make_shared for shared_ptr arrays of runtime size. Fulfills need for allocate_shared_array and make_shared_array.
[SVN r81219]
|
2012-11-06 14:17:32 +00:00 |
|
Peter Dimov
|
0b6cab9f2f
|
Fix shared_ptr<T[]> EDG issues.
[SVN r81159]
|
2012-11-03 14:49:45 +00:00 |
|
Peter Dimov
|
8c15401ea7
|
Implement shared_ptr<X[]>, weak_ptr<X[]>. Refs #1113.
[SVN r81149]
|
2012-11-02 17:41:33 +00:00 |
|
Peter Dimov
|
03ae5cdbc6
|
Add back _AIX-specific #ifdef that was mistakenly removed. Refs #6308. Refs #6667.
[SVN r81134]
|
2012-11-01 17:50:41 +00:00 |
|
Peter Dimov
|
0c22e55f3e
|
Add shared_ptr constructor taking std::unique_ptr. Refs #6625.
[SVN r81131]
|
2012-10-31 22:16:20 +00:00 |
|
Peter Dimov
|
10dcb8db7c
|
Define BOOST_SP_HAS_SYNC when __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 is set. Refs #7141.
[SVN r81128]
|
2012-10-31 20:37:21 +00:00 |
|
Peter Dimov
|
f2d4b67a48
|
Enable __sync primitives on VACPP. Refs #6901.
[SVN r81127]
|
2012-10-31 20:30:27 +00:00 |
|
Peter Dimov
|
16084637a6
|
Do not use sp_counted_base_gcc_ppc on AIX. Refs #6996.
[SVN r81126]
|
2012-10-31 20:16:56 +00:00 |
|