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
Gennadiy Rozental
28d7e348c1
avoid C style casts
...
[SVN r53672]
2009-06-06 09:44:36 +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
5758e51948
Fix sp_typeinfo.hpp include. Refs #2885 .
...
[SVN r51985]
2009-03-26 12:47:24 +00:00
Peter Dimov
287d329276
Added g++/MIPS support submitted by David Joyner. Refs #2885 .
...
[SVN r51978]
2009-03-26 00:17:57 +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
9227371881
Move enable_shared_from_this2.hpp to boost/smart_ptr.
...
[SVN r51909]
2009-03-22 20:13:16 +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
a378c8c278
Refs #2814 (fixed in trunk.)
...
[SVN r51518]
2009-03-01 18:42:44 +00:00
Peter Dimov
905a3711db
Refs #2525 (fixed in trunk.)
...
[SVN r51517]
2009-03-01 18:01:19 +00:00
Peter Dimov
ed32efcc51
Refs #2662 (applied to trunk.)
...
[SVN r51516]
2009-03-01 17:27:35 +00:00
Peter Dimov
eb0ff40d62
Refs #2675 (fixed in trunk.)
...
[SVN r51515]
2009-03-01 17:18:17 +00:00
Peter Dimov
ad1b344405
Refs #2394 (fixed in trunk.)
...
[SVN r51514]
2009-03-01 17:10:49 +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