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
David Deakins
3dacec8e1d
Have config/select_stdlib_config.hpp and config/stdlib/stlport.hpp use <cstddef> instead of <utility> to determine which standard library is in use. For std lib implementations that rely on Boost components like TypeTraits, Bind, Function, or SmartPtr, this helps to avoid circular header dependency issues, since <cstddef> is much less likely to pull in Boost libraries than <utility>.
...
In get_pointer.hpp, switched to using <boost/config/no_tr1/memory.hpp> instead of using <memory> directly. As above, this helps avoid circular header dependency issues in Boost-supplemented std libs (specifically it avoids issues when <memory> pulls in pieces of Boost.SmartPtr).
These two changes were made in response to testing done with STLport 5.2.1 using the _STLP_USE_BOOST_SUPPORT option.
[SVN r52104]
2009-04-01 14:42:11 +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
6f2bdddfa0
Delete enable_shared_from_this2.hpp from boost/.
...
[SVN r51910]
2009-03-22 20:14:13 +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
e88dd9fc77
Bring back the new enable_shared_from_this.
...
[SVN r51908]
2009-03-22 20:08:39 +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
Peter Dimov
13f91c15f0
Sync enable_shared_from_this.hpp and shared_ptr.hpp with release.
...
[SVN r51485]
2009-02-28 20:02:12 +00:00
Nicola Musatti
ed79000ea8
Patch from Ticket #2342
...
[SVN r49153]
2008-10-06 20:17:18 +00:00
Peter Dimov
774332f85a
Fix #2263 . See also [48835].
...
[SVN r48838]
2008-09-17 22:53:53 +00:00
Peter Dimov
f5990cab65
Fix #1758 . V9 is the default for g++ 4.2 or later, on 4.1 and earlier do not attempt to use CAS on V8.
...
[SVN r48837]
2008-09-17 22:49:18 +00:00
Peter Dimov
6175baf858
Fix #2000 .
...
[SVN r48836]
2008-09-17 22:43:14 +00:00
Peter Dimov
2fb567b3f2
Fix #2336 .
...
[SVN r48835]
2008-09-17 22:37:13 +00:00
Peter Dimov
2b25579338
Fix #2310 .
...
[SVN r48834]
2008-09-17 22:31:13 +00:00
Peter Dimov
a97cd2d0cc
Fix #2337 .
...
[SVN r48833]
2008-09-17 22:21:56 +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
Peter Dimov
2a92df56f2
#include <ia64intrin.h> in spinlock_sync.hpp as well.
...
[SVN r46055]
2008-06-02 20:01:30 +00:00
Peter Dimov
366472fc35
Fix #1938 in trunk
...
[SVN r45690]
2008-05-23 20:29:14 +00:00
Peter Dimov
2bfe13c9c4
Renamed CRITICAL_SECTION to critical_section to avoid ambiguity.
...
[SVN r45545]
2008-05-19 15:09:54 +00:00
John Maddock
83e2510ce5
Use the "no_tr1" version of <functional>: addition of Boost.Exception support to throw_exception has created new cyclic dependencies with Boost.TR1.
...
[SVN r45422]
2008-05-16 11:12:32 +00:00
Peter Dimov
31685fe551
Updated Borland workaround to properly use BOOST_NO_MEMBER_TEMPLATE_FRIENDS.
...
[SVN r45347]
2008-05-14 00:21:28 +00:00
Peter Dimov
05e050abe0
Disable sp_convertible for Borland 5.x.
...
[SVN r45346]
2008-05-13 23:53:12 +00:00
Ion Gaztañaga
d52878df88
Replaced non-ascii characters, ticket 1736
...
[SVN r45224]
2008-05-08 19:08:38 +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
2f1b1acc7a
Fix g++ 3.2 regression.
...
[SVN r45177]
2008-05-06 18:58:15 +00:00
Peter Dimov
efdc390bc9
intrusive_ptr::reset() added.
...
[SVN r45089]
2008-05-03 20:12:25 +00:00
Peter Dimov
d13f1d8694
More fixes for MSVC 6.0.
...
[SVN r45086]
2008-05-03 19:43:52 +00:00
Peter Dimov
83c43617af
Fixes for MSVC 6.0.
...
[SVN r45085]
2008-05-03 19:29:01 +00:00
Peter Dimov
da323af72d
Fixes for old compilers.
...
[SVN r45069]
2008-05-03 15:33:06 +00:00
Peter Dimov
0c4aaef77c
Fix #1106 .
...
[SVN r45068]
2008-05-03 15:07:58 +00:00
Ralf W. Grosse-Kunstleve
440fcb7ba0
missing workaround.hpp include added
...
[SVN r45040]
2008-05-02 19:44:56 +00:00
Peter Dimov
18a6c1add8
make_shared added; tweaks for old compilers; fixes #1884 .
...
[SVN r44979]
2008-05-01 16:50:39 +00:00
Daniel Frey
357d3c4d54
Fixed comment to reflect the intention and the current code
...
[SVN r44873]
2008-04-29 05:32:13 +00:00
Daniel Frey
e3422efec6
Improved sp_deleter_wrapper implementation
...
[SVN r44837]
2008-04-28 07:17:11 +00:00
Daniel Frey
a01e4c3f83
Refactored and optimized enable_shared_from_this
...
[SVN r44782]
2008-04-26 19:59:11 +00:00
Daniel Frey
6f8dc5923c
Added new reset()-counterparts for the new ctors
...
[SVN r44777]
2008-04-26 15:42:13 +00:00
Daniel Frey
2251b1d2df
No need for the new ctors to be templates
...
[SVN r44772]
2008-04-26 06:36:59 +00:00
Daniel Frey
8b3907ae81
Remove dynamic_cast in init_internal_shared_once()
...
[SVN r44744]
2008-04-23 19:32:44 +00:00