Peter Dimov
|
aae5440854
|
Merged [80988] from trunk.
[SVN r81331]
|
2012-11-14 11:51:00 +00:00 |
|
Peter Dimov
|
227d2e3255
|
Manually apply [69019] from trunk.
[SVN r81330]
|
2012-11-14 11:43:17 +00:00 |
|
Peter Dimov
|
8bf183b373
|
Merged [81125] from trunk. Fixes #4185.
[SVN r81329]
|
2012-11-14 11:20:29 +00:00 |
|
Peter Dimov
|
5017da2514
|
Merged [81119] from trunk. Fixes #7599.
[SVN r81328]
|
2012-11-14 11:17:48 +00:00 |
|
Glen Fernandes
|
3b0b10d06d
|
Update Jamfile.v2 with two new smart_ptr tests for allocate_shared and make_shared
[SVN r81300]
|
2012-11-11 19:21:18 +00:00 |
|
Glen Fernandes
|
25e11b20d3
|
Update tests for make_shared and allocate_shared array forms, for normal case, initializer lists, variadic template arguments, for arrays and fixed size arrays.
[SVN r81299]
|
2012-11-11 19:14: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 |
|
Peter Dimov
|
58a46f4e55
|
Add allocate_shared_array_args_test.cpp.
[SVN r81268]
|
2012-11-09 18:26:40 +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
|
c1f41aa925
|
Actually remove test cases from make_shared_array_create_test.cpp and allocate_shared_array_create_test.cpp that g++ does not handle.
[SVN r81262]
|
2012-11-09 16:35:18 +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 |
|
Glen Fernandes
|
d512eaaa0f
|
Change make_shared and allocate_shared array form semantics with initializer lists overload that takes no size.
[SVN r81259]
|
2012-11-09 10:14:55 +00:00 |
|
Glen Fernandes
|
730980f3ee
|
Clean up code in allocate_shared_array.hpp and make_shared_array.hpp
[SVN r81258]
|
2012-11-09 09:14:23 +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
|
c57245d710
|
Add tests for variadic template constructors overload of array forms of make_shared and allocate_shared for multidimensional arrays and up to 9 constructor arguments.
[SVN r81242]
|
2012-11-08 05:33:52 +00:00 |
|
Peter Dimov
|
945c013a12
|
Fix typo.
[SVN r81239]
|
2012-11-07 23:45:31 +00:00 |
|
Peter Dimov
|
df544871d7
|
Add missing semicolon.
[SVN r81238]
|
2012-11-07 23:41:52 +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 |
|
Peter Dimov
|
e50c849ab3
|
Add sp_convertible_test.cpp.
[SVN r81234]
|
2012-11-07 15:33:44 +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 |
|
Peter Dimov
|
c06ba497a3
|
Rename sp_convertible_test.cpp to shared_ptr_convertible_test.cpp.
[SVN r81232]
|
2012-11-07 15:07:08 +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
|
6e873de0fa
|
Add make_shared_array_args_test.cpp.
[SVN r81226]
|
2012-11-06 17:31:15 +00:00 |
|
Peter Dimov
|
322bcd7efa
|
Rename make_shared.hpp to make_shared_object.hpp, include from make_shared.hpp.
[SVN r81224]
|
2012-11-06 16:29:56 +00:00 |
|
Peter Dimov
|
bb72e0a092
|
Add specialization of sp_if_not_array<T[N]>.
[SVN r81223]
|
2012-11-06 16:23:09 +00:00 |
|
Peter Dimov
|
d8eb2fc105
|
Fix g++ issues.
[SVN r81222]
|
2012-11-06 15:10:32 +00:00 |
|
Glen Fernandes
|
e7d3987cfb
|
Update Jamfile.v2 to run make_shared array tests and allocate_shared array tests.
[SVN r81220]
|
2012-11-06 14:35:40 +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
|
2ba7b6b99b
|
Add catch(...) clauses to sp_array_test.cpp.
[SVN r81174]
|
2012-11-04 18:30:03 +00:00 |
|
Peter Dimov
|
a30e291022
|
Disable make_shared<T> overloads when T is Q[].
[SVN r81171]
|
2012-11-04 14:53:51 +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 |
|
Peter Dimov
|
3e447c919c
|
Add get_pointer overloads for std::unique_ptr, std::shared_ptr. Refs #4185.
[SVN r81125]
|
2012-10-31 20:04:14 +00:00 |
|