Commit Graph

1447 Commits

Author SHA1 Message Date
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
Peter Dimov
b0f72d7b3d Add check for __ARM_ARCH_7S__. Refs #7599.
[SVN r81119]
2012-10-31 16:04:03 +00:00
Bryce Adelstein-Lelbach
4c98df7c57 Update smart_ptr for the latest version of the PathScale compiler.
[SVN r80988]
2012-10-14 23:06:12 +00:00
Peter Dimov
c2048732d8 Merge [77316] to release. Closes #6667.
[SVN r77318]
2012-03-12 17:40:02 +00:00
Peter Dimov
5979c1d4bd Merge [77315] to release. Closes #5331.
[SVN r77317]
2012-03-12 17:37:51 +00:00
Peter Dimov
1029ae0ea5 Apply patches from #6667. Refs #6667.
[SVN r77316]
2012-03-12 17:33:50 +00:00
Peter Dimov
27a312228c Apply patch from #5331. Refs #5331.
[SVN r77315]
2012-03-12 17:31:21 +00:00
Peter Dimov
3090f6f4af Merge [76219] to release. Fixes #6332.
[SVN r76221]
2011-12-29 22:43:02 +00:00
Peter Dimov
2c29f1e5a9 Warning 4284 is obsolete. Refs #6332. See also #4433.
[SVN r76219]
2011-12-29 22:27:37 +00:00
Peter Dimov
40073ef64f Merge [76125], [76126] to release.
[SVN r76164]
2011-12-26 00:25:42 +00:00
Peter Dimov
b9970eda45 Merge [76111] to release. Fixes #2603.
[SVN r76163]
2011-12-26 00:23:00 +00:00
Peter Dimov
df364f37f2 std::move is in <utility>.
[SVN r76125]
2011-12-23 23:54:41 +00:00
Peter Dimov
9147489b4c Merge [76123] to release. Refs #6308.
[SVN r76124]
2011-12-23 23:12:50 +00:00
Peter Dimov
33ba2c4722 sp_counted_base_aix.hpp: switch to lwsync and builtins. Refs #6308.
[SVN r76123]
2011-12-23 23:10:37 +00:00
Peter Dimov
d1348ea05e Merge [76119] to release. Refs #6308.
[SVN r76120]
2011-12-23 15:10:51 +00:00
Peter Dimov
faf212f4aa Add memory barriers to sp_counted_base_aix.hpp. Refs #6308.
[SVN r76119]
2011-12-23 15:03:39 +00:00
Peter Dimov
57a5441ebf Creatively apply patch from #2603. Refs #2603.
[SVN r76111]
2011-12-23 03:00:05 +00:00
Peter Dimov
90db9a6435 Merge [76086] to release. Fixes #6308.
[SVN r76087]
2011-12-21 00:43:56 +00:00
Peter Dimov
017ab7e2ee Apply AIX patch from #6308. Refs #6308.
[SVN r76086]
2011-12-21 00:36:55 +00:00
Peter Dimov
1c208ad3ea Merge [75392] to release. Fixes #6087.
[SVN r75756]
2011-11-30 18:01:02 +00:00
Peter Dimov
5fc9bf5bc5 Merge [75390] to release. Fixes #4493.
[SVN r75754]
2011-11-30 17:51:43 +00:00
Peter Dimov
c846d230f0 Merge [75389] to release. Fixes #5372.
[SVN r75753]
2011-11-30 17:49:43 +00:00
Peter Dimov
e4cb5e131f Add hash_value for intrusive_ptr. Refs #6087.
[SVN r75392]
2011-11-07 18:46:46 +00:00
Peter Dimov
fbe4ddf4a2 Add get_deleter for shared_array. Refs #4493.
[SVN r75390]
2011-11-07 18:19:24 +00:00
Peter Dimov
288fb7efcf Add ARM memory barriers. Refs #5372.
[SVN r75389]
2011-11-07 17:50:31 +00:00
Peter Dimov
7b097467d6 Merge [75385] to release. Fixes #6099.
[SVN r75386]
2011-11-07 15:05:43 +00:00
Peter Dimov
9d9e6350f2 Apply patch from #6099. Refs #6099.
[SVN r75385]
2011-11-07 15:03:44 +00:00
Peter Dimov
7cb040edb0 Merge [70452] to release. Fixes #5327.
[SVN r75381]
2011-11-07 14:25:23 +00:00
Peter Dimov
d6ac116b71 Merge [73202] to release.
[SVN r73542]
2011-08-05 08:58:31 +00:00
Peter Dimov
7e9664396a Add copy constructor/assignment - in C++0x, move disables implicit copy.
[SVN r73202]
2011-07-17 20:35:44 +00:00
Emil Dotchevski
b4b415553c Lock-free sp_counted_base for SNC/PS3, thanks Peter Dimov
[SVN r72437]
2011-06-06 18:56:07 +00:00
Peter Dimov
f76a8d95d8 Apply suggested patch. Refs #5327.
[SVN r70452]
2011-03-23 00:29:22 +00:00
Peter Dimov
8abc8889d1 Merge [69262] to release. Fixes #5018.
[SVN r70447]
2011-03-23 00:13:54 +00:00
Peter Dimov
c5b47e2136 Merge [69261] to release. Fixes #5019.
[SVN r70441]
2011-03-22 23:55:05 +00:00
Peter Dimov
7c0815c567 Merge [69260] to release. Fixes #5216.
[SVN r70440]
2011-03-22 23:51:10 +00:00
Peter Dimov
210288f02e Merge [69251] to release. Fixes #4127.
[SVN r70439]
2011-03-22 23:45:59 +00:00
Peter Dimov
cf7b6904e8 Merge [69250] to release. Fixes #4256. Fixes #3875.
[SVN r70436]
2011-03-22 23:38:12 +00:00
Peter Dimov
b978919dd1 Merge [69246] to release. Fixes #4478.
[SVN r70435]
2011-03-22 23:29:35 +00:00
Peter Dimov
1086aff971 Merge [69245] to release. Fixes #4433.
[SVN r70434]
2011-03-22 23:23:44 +00:00
Peter Dimov
445e8d1728 Merge [69244] to release. Fixes #4892.
[SVN r70433]
2011-03-22 23:17:51 +00:00