Glen Fernandes
|
e36689bd5e
|
Correct call to init_list in make_shared and allocate_shared. Move g++ failing case into separate test to not mask other issues.
[SVN r81905]
|
2012-12-13 18:02:25 +00:00 |
|
Peter Dimov
|
1c070b3a32
|
Replace use of BOOST_HAS_VARIADIC_TMPL with !BOOST_NO_CXX11_VARIADIC_TEMPLATES.
[SVN r81901]
|
2012-12-13 16:57:55 +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 |
|
Glen Fernandes
|
db542de908
|
Use _internal_get_untyped_deleter in allocate_shared_array and make_shared_array
[SVN r81865]
|
2012-12-11 20:51:05 +00:00 |
|
Peter Dimov
|
67f5e9825e
|
Add allocate_shared_noinit.
[SVN r81861]
|
2012-12-11 18:32:24 +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
|
ecceb710de
|
Add overloads of allocate_shared_noinit to complement make_shared_noinit
[SVN r81858]
|
2012-12-11 17:42:47 +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 |
|
Peter Dimov
|
7a733263da
|
Fix get_pointer for the array case, add operator= for unique_ptr, update auto_ptr signatures to use rvalue reference when available.
[SVN r81730]
|
2012-12-06 03:18:54 +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
|
8597433028
|
Use BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX instead for certain overloads of make_shared and allocate_shared
[SVN r81642]
|
2012-12-01 05:23:37 +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
|
fceea2e584
|
Consistent formatting across overloads of make_shared and allocate_shared (array forms).
[SVN r81609]
|
2012-11-28 06:26:50 +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 |
|
Peter Dimov
|
97d32745aa
|
Update shared_ptr casts.
[SVN r81463]
|
2012-11-21 17:43:48 +00:00 |
|
Peter Dimov
|
7835914d83
|
Borland fixes.
[SVN r81437]
|
2012-11-20 15:22:19 +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 |
|
Glen Fernandes
|
79b229adcd
|
Cosmetic changes in make_shared_array.hpp and allocate_shared_array.hpp
[SVN r81407]
|
2012-11-17 22:20:32 +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
|
da9524d637
|
Minor style change: Fix indentation in allocate_shared_array.hpp and make_shared_array.hpp
[SVN r81342]
|
2012-11-14 15:33:30 +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
|
fa513340d7
|
Tidy long line formatting in allocate_shared_array.hpp and make_shared_array.hpp
[SVN r81277]
|
2012-11-10 02:33:48 +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 |
|
Peter Dimov
|
5bdde37414
|
Updated shared_array to match shared_ptr. Refs #1113.
[SVN r81272]
|
2012-11-10 00:04:49 +00:00 |
|
Peter Dimov
|
2aaa913b11
|
Keep old definition of sp_assert_convertible when BOOST_SP_NO_SP_CONVERTIBLE is set.
[SVN r81271]
|
2012-11-09 23:27:02 +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 |
|
Peter Dimov
|
999c284109
|
Disable make_shared for arrays when the compiler doesn't support partial specialization or SFINAE.
[SVN r81260]
|
2012-11-09 12:37:03 +00:00 |
|