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
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
Peter Dimov
e50c849ab3
Add sp_convertible_test.cpp.
...
[SVN r81234]
2012-11-07 15:33:44 +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
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
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
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
0c22e55f3e
Add shared_ptr constructor taking std::unique_ptr. Refs #6625 .
...
[SVN r81131]
2012-10-31 22:16:20 +00:00
Peter Dimov
df364f37f2
std::move is in <utility>.
...
[SVN r76125]
2011-12-23 23:54:41 +00:00
Peter Dimov
57a5441ebf
Creatively apply patch from #2603 . Refs #2603 .
...
[SVN r76111]
2011-12-23 03:00:05 +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
69aa01ec00
Add hash_value for shared_ptr; prevents hash_value( bool ) from being used. Refs #5216 .
...
[SVN r69260]
2011-02-24 23:24:54 +00:00
Peter Dimov
1426b0bbdd
Apply patch to allow perfect forwarding without variadics. Refs #4892 .
...
[SVN r69244]
2011-02-24 20:41:29 +00:00
Peter Dimov
4fabf9b352
Add include guards, make_shared.hpp to smart_ptr.hpp. Refs #4288 . Refs #5189 .
...
[SVN r69242]
2011-02-24 20:29:38 +00:00
Peter Dimov
3c84388186
Resolve the ambiguity between the zero argument make_shared and the variadic one. Refs #3856 .
...
[SVN r62248]
2010-05-26 18:18:10 +00:00
Peter Dimov
37c9a235a5
Add BOOST_HAS_VARIADIC_TMPL as a test condition.
...
[SVN r61579]
2010-04-26 16:39:45 +00:00
Peter Dimov
7083e76666
Remove duplicate using declarations.
...
[SVN r61575]
2010-04-26 12:20:44 +00:00
Peter Dimov
ae34be773f
Qualify detail:: references. Detabify sp_typeinfo_test.cpp.
...
[SVN r58306]
2009-12-11 22:36:35 +00:00
Peter Dimov
577528812a
Fix sp_typeinfo to match the interface of std::type_info.
...
[SVN r58127]
2009-12-03 20:31:01 +00:00
Peter Dimov
e78efdbb96
Fix smart_ptr tests to not require RTTI.
...
[SVN r58123]
2009-12-03 18:10:37 +00:00
Frank Mori Hess
18bfaea996
Fixed perfect forwarding for make_shared() in trunk, and added
...
corresponding test. Refs #2962 .
[SVN r57520]
2009-11-09 18:12:35 +00:00
Frank Mori Hess
9f49538b37
Added weak_from_raw(), for use in conjunction with
...
enable_shared_from_raw base class.
[SVN r57423]
2009-11-05 21:41:38 +00:00
Frank Mori Hess
2ee5eb70f3
Brought back code which fixes get_deleter when it is called on a deleter
...
which has been wrapped inside a deleter_wrapper by "shared_from_raw() in
constructors" support.
[SVN r57206]
2009-10-28 22:42:21 +00:00
Frank Mori Hess
32eb028e13
Renamed enable_shared_from_this2 to enable_shared_from_raw and
...
added shared_from_raw free function. These changes fix the pointer
value in shared_ptr which were obtained before an external shared_ptr has
taken ownership of the object (for example when a shared_ptr to
this is obtained in an object's constructor).
[SVN r57197]
2009-10-28 19:10:47 +00:00
Troy D. Straszheim
e824e23ec2
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
f5cc79f58d
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Timothy Zachary Laine
fc12543814
Merged in smart_ptr changes from the sandbox/boost0x branch created for
...
BoostCon '09. This adds move semantics to weak_ptr and intrusive_ptr.
[SVN r52937]
2009-05-12 16:18:15 +00:00
Peter Dimov
4b4a62513f
Make ++a, where a is an atomic_count, return the new value.
...
[SVN r52456]
2009-04-17 20:24:01 +00:00
Peter Dimov
0368a37fde
Bring back "explicit" on the auto_ptr rvalue constructor. Refs #2951 .
...
[SVN r52454]
2009-04-17 19:51:18 +00:00
Peter Dimov
d34d638998
Bring back the constructor-enabled enable_shared_from_this as enable_shared_from_this2.
...
[SVN r51912]
2009-03-22 21:11:17 +00:00
Peter Dimov
dc3ffc5f4b
Attempt to fix como link failure.
...
[SVN r51686]
2009-03-10 18:07:13 +00:00
Peter Dimov
0610947c4a
De-optimize assignment into this_type(r).swap(*this) - turns out that they were not equivalent, leading to leaks in contrived cases. Refs #2813 .
...
[SVN r51643]
2009-03-07 22:21:56 +00:00
Peter Dimov
9c55fbc6c2
Fix enable_shared_from_this-related tickets in trunk. Refs #2126 . Refs #2584 .
...
[SVN r51581]
2009-03-03 19:25:26 +00:00
Peter Dimov
68c939ec5a
Fix #includes in spinlock_test.cpp, spinlock_try_test.cpp, yield_k_test.cpp.
...
[SVN r51519]
2009-03-01 18:54:51 +00:00
Peter Dimov
0da6902267
Move smart_ptr into boost/smart_ptr/*.hpp (refs #2239 ).
...
[SVN r51509]
2009-03-01 16:00:42 +00:00
Peter Dimov
10f6ff8b77
Sync smart_ptr/test/Jamfile.v2 with release.
...
[SVN r51486]
2009-02-28 21:08:25 +00:00
Michael A. Jackson
c40b306647
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
d9b9921d23
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Peter Dimov
8c7954a53a
Untabify.
...
[SVN r47736]
2008-07-23 20:04:52 +00:00
Peter Dimov
77ab953171
Updated atomic access syntax to match N2674 and the WD.
...
[SVN r47357]
2008-07-12 16:07:20 +00:00
Ion Gaztañaga
d261079616
Replaced non-ascii characters, ticket 1736
...
[SVN r45225]
2008-05-08 19:22:16 +00:00
Peter Dimov
4b0490c0ae
Fix sp_convertible_test.cpp failure in C++0x mode.
...
[SVN r45194]
2008-05-07 10:15:16 +00:00
Peter Dimov
f0f9f72be6
sp_atomic_mt2_test.cpp added.
...
[SVN r45094]
2008-05-03 22:47:35 +00:00
Peter Dimov
83c43617af
Fixes for MSVC 6.0.
...
[SVN r45085]
2008-05-03 19:29:01 +00:00
Peter Dimov
0c4aaef77c
Fix #1106 .
...
[SVN r45068]
2008-05-03 15:07:58 +00:00