Peter Dimov
b18b47770d
Add support for BOOST_SP_NO_SYNC. Refs #5019 .
...
[SVN r69261]
2011-02-24 23:30:22 +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
e3d2f2ee6b
Apply suggested fix. Refs #4127 .
...
[SVN r69251]
2011-02-24 22:05:04 +00:00
Peter Dimov
593093e46d
Fix make_shared to not copy the deleter. Refs #4256 . Refs #3875 .
...
[SVN r69250]
2011-02-24 21:51:21 +00:00
Peter Dimov
9196247dea
Apply patch. Refs #4478 .
...
[SVN r69246]
2011-02-24 20:53:46 +00:00
Peter Dimov
53d5d086ea
Warning 4284 is obsolete. Refs #4433 .
...
[SVN r69245]
2011-02-24 20:48:17 +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
Bryce Adelstein-Lelbach
a2fc6e12da
Intel 11.0 doesn't provide __sync intrinsics - this is added in Intel 11.1.
...
[SVN r69019]
2011-02-19 01:33:46 +00:00
Bryce Adelstein-Lelbach
c3b51e201b
Pathscale-4.0 configuration code/workarounds.
...
[SVN r68142]
2011-01-14 02:59:34 +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
a46d405778
DWORD is unsigned long, not unsigned int. Refs #4217 .
...
[SVN r62246]
2010-05-26 17:49:37 +00:00
Peter Dimov
7aac2f3263
Fix detail::forward to work with rvalue references v2.
...
[SVN r61574]
2010-04-26 12:16:55 +00:00
Steven Watanabe
458dffdab9
Work around over-eager ADL with msvc-10.0. Refs #4108
...
[SVN r61344]
2010-04-17 20:13:27 +00:00
Peter Dimov
f7919f0b9f
Borland 6.21 still needs the workaround. Refs #4067 .
...
[SVN r61074]
2010-04-05 18:53:58 +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
1b91c1dbea
Avoid static destruction order issues with quick_allocator.
...
[SVN r58275]
2009-12-10 20:34:46 +00:00
Peter Dimov
b691be0af9
Remove std::move references. Refs #3570 .
...
[SVN r57957]
2009-11-26 21:20:47 +00:00
Peter Dimov
fa597b877e
Extend Borland workaround to 6.2.
...
[SVN r57955]
2009-11-26 21:04:36 +00:00
Peter Dimov
d0a9d76494
Add error checking to lwm_pthreads.hpp. Refs #2681 .
...
[SVN r57953]
2009-11-26 20:55:05 +00:00
Peter Dimov
979e76b7e0
Enable __sync use on Intel 11.0 or later. Refs #3351 .
...
[SVN r57951]
2009-11-26 20:17:55 +00:00
Peter Dimov
030a848c5f
Fix SPARC asm operand failure. Refs #3678 . Refs #3341 .
...
[SVN r57949]
2009-11-26 18:21:21 +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
502de325ee
Fixed access to enable_shared_from_raw::weak_this_ when
...
BOOST_NO_MEMBER_TEMPLATE_FRIENDS is defined.
[SVN r57518]
2009-11-09 16:33: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
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