Peter Dimov
45c799f40c
Debug hook support moved to shared_count.
...
[SVN r16325]
2002-11-19 16:18:58 +00:00
Peter Dimov
f6b7ff4b34
Major changes to shared_ptr and weak_ptr
...
[SVN r16314]
2002-11-18 14:37:02 +00:00
Peter Dimov
57c0ad44f3
Changed typename to class; some libraries helpfully #define typename
...
[SVN r15970]
2002-10-23 13:55:18 +00:00
Douglas Gregor
c02fee7013
*_ptr.hpp:
...
- Revert addition of is_pointerlike_helper
weak_ptr.hpp:
- Revert addition of get_pointer
[SVN r15108]
2002-08-29 13:49:05 +00:00
Douglas Gregor
b9dceb2340
*_ptr.hpp:
...
- Added detail::is_pointerlike_helper function templates for Signals
weak_ptr.hpp:
- Added get_pointer function template for weak_ptr
[SVN r15099]
2002-08-26 15:27:23 +00:00
Peter Dimov
a09c2e556f
BOOST_NO_EXCEPTIONS support added.
...
[SVN r14835]
2002-08-14 12:27:22 +00:00
Peter Dimov
927fe73093
Changed #ifdefs so that member templates aren't disabled by an empty config.hpp.
...
[SVN r14589]
2002-07-24 15:36:25 +00:00
Peter Dimov
f586d3f83e
shared_ptr<void const> support added.
...
[SVN r14570]
2002-07-23 12:33:11 +00:00
Peter Dimov
3f0ebd4c71
'shared_from_this' added.
...
[SVN r14561]
2002-07-22 16:36:52 +00:00
Peter Dimov
547888d507
Consistent 'bool' conversions; scoped_ptr(auto_ptr); get_pointer(scoped_ptr) added.
...
[SVN r14496]
2002-07-17 15:15:39 +00:00
Peter Dimov
4653c3673b
shared_ptr now autodetects counted_bases; minor test updates; intrusive_ptr no longer calls addref/release for NULL pointers.
...
[SVN r13602]
2002-05-01 11:22:22 +00:00
Peter Dimov
11eacab70e
Made shared_ptr::share_ptr(Y * p) a member template.
...
[SVN r13551]
2002-04-23 14:56:42 +00:00
Peter Dimov
fbc9028313
intrusive_ptr.hpp added (still experimental)
...
[SVN r13526]
2002-04-19 19:34:16 +00:00
Peter Dimov
513752eee5
Worked around an MSVC 6 bug (Markus Schoepflin)
...
[SVN r13430]
2002-04-10 14:12:12 +00:00
Peter Dimov
adc3ec3851
Fixes.
...
[SVN r12816]
2002-02-15 14:19:30 +00:00
Peter Dimov
5a6cd1cf3e
Added a default constructor to shared_count and shared_ptr for incomplete types (void).
...
[SVN r12815]
2002-02-15 13:31:58 +00:00
Peter Dimov
1b69c14f45
weak_ptr made thread safe, shared->weak conversions, lightweight_mutex added.
...
[SVN r12786]
2002-02-12 16:55:25 +00:00
Peter Dimov
d77b35f333
Fix the g++ 2.9x operator!= ambiguity.
...
[SVN r12772]
2002-02-09 15:45:29 +00:00
Peter Dimov
6f7b927641
weak_ptr::operator< is now stable, shared_ptr_test has much better coverage.
...
[SVN r12769]
2002-02-09 12:34:05 +00:00
Darin Adler
0dd3285d56
New casts for smart pointers.
...
[SVN r12743]
2002-02-06 19:42:04 +00:00
Peter Dimov
c29cc62d66
Minor tweaks.
...
[SVN r12684]
2002-02-04 11:15:40 +00:00
Darin Adler
1a7cd887e4
New smart pointer documentation. Related clean-up of the smart pointer
...
library. Changing includes to include the new individual smart pointer
headers. Replacing old smart pointer library with an include of the new
smart pointer headers. Simplify ifdefs that involve the member templates
macros now that BOOST_MSVC6_MEMBER_TEMPLATES is also guaranteed to bet
set for platforms that have full member templates.
[SVN r12647]
2002-02-02 18:36:12 +00:00
Peter Dimov
b224270cc0
auto_ptr& constructor now has no effects when exception is thrown
...
[SVN r12643]
2002-02-02 16:18:04 +00:00
Darin Adler
5d564a2f01
Add a self-assignment assert to reset(). Also add an overload of reset to
...
allow resetting to a new pointer with a new deletion function.
[SVN r12491]
2002-01-24 19:16:12 +00:00
Peter Dimov
09c1476063
Smart pointer enhancements, initial commit
...
[SVN r12439]
2002-01-22 13:38:52 +00:00