Peter Dimov
52587aaa05
Fixed shared_ptr_delete_fail failure on g++ 3.3 and below
...
[SVN r27930]
2005-04-02 12:00:14 +00:00
Peter Dimov
09a0ba8c75
sp_counted_impl_p added for the pointer constructor
...
[SVN r27727]
2005-03-17 23:30:47 +00:00
Peter Dimov
7d59d29ad1
HP aCC fix for get_deleter (Jaroslav Gresula)
...
[SVN r27092]
2005-02-04 16:28:50 +00:00
Peter Dimov
27be736b8f
Fixed sp_enable_shared_from_this to not use void cv * since this breaks function types.
...
[SVN r24718]
2004-08-24 16:27:31 +00:00
Douglas Gregor
ef51f6a1de
License update
...
[SVN r24598]
2004-08-19 15:23:47 +00:00
Peter Dimov
c48f05dcb4
enable_shared_from_this is now const-tolerant.
...
[SVN r22298]
2004-02-16 18:50:07 +00:00
Dave Abrahams
feff6e40ea
Use conforming is_class for EDG compilers
...
Make is_enum work for class types which are convertible to anything at
all (on many compilers).
smart_ptr library workarounds for __MWERKS__ (must use member function
pointer for unspecified_bool_type).
[SVN r20244]
2003-10-02 17:49:06 +00:00
Peter Dimov
96f572b19b
Switched unspecified_bool_type to data member pointer.
...
[SVN r20238]
2003-10-01 11:12:15 +00:00
Peter Dimov
f2c5439644
'volatile' fixes.
...
[SVN r19961]
2003-09-08 12:26:02 +00:00
Peter Dimov
2d4eb92401
get_deleter fix for EDG 2.38
...
[SVN r19148]
2003-07-16 11:54:49 +00:00
Peter Dimov
192970b3b8
const_pointer_cast added.
...
[SVN r19147]
2003-07-16 11:51:12 +00:00
Peter Dimov
889cb6bee6
-Wundef fixes.
...
[SVN r18788]
2003-06-12 17:09:24 +00:00
Peter Dimov
d091ee85c0
Turns out Sun CC doesn't like operator int().
...
[SVN r18512]
2003-05-23 13:46:07 +00:00
Peter Dimov
bc00d5fa1a
Fixed bool conversions for Sun 5.3
...
[SVN r18419]
2003-05-16 12:11:17 +00:00
Peter Dimov
be0267f9a3
Enabled copy assignment on all Borland versions (for Kylix) and g++ (for -Wsynth, report by Wolfgang Bangerth)
...
[SVN r17173]
2003-02-03 13:48:33 +00:00
Peter Dimov
3e616752c9
weak_ptr documentation updated; still a work in progress.
...
[SVN r16748]
2003-01-04 14:24:14 +00:00
Peter Dimov
987a7d32fb
Documentation updated to reflect changes to shared_ptr
...
[SVN r16739]
2003-01-03 16:53:04 +00:00
Dave Abrahams
fafd9a863b
Workarounds for vc6-stlport
...
[SVN r16706]
2002-12-26 18:23:11 +00:00
Peter Dimov
eee96e8059
Borland 5.6.1 still broken.
...
[SVN r16666]
2002-12-19 18:15:53 +00:00
Peter Dimov
e60c1f9b49
Some versions of g++ 2.9x don't have basic_ostream.
...
[SVN r16406]
2002-11-25 13:52:42 +00:00
Peter Dimov
12b1871136
operator<< added, as the conversion to 'bool' implicitly defines one anyway.
...
[SVN r16403]
2002-11-25 12:27:11 +00:00
Peter Dimov
9632464c45
Test w/ NULL pointer to enabled_... object added; bug fixed.
...
[SVN r16402]
2002-11-25 12:17:56 +00:00
Peter Dimov
1f9908be69
Borland C++ 5.6 still needs the workaround.
...
[SVN r16379]
2002-11-23 19:18:05 +00:00
Peter Dimov
5dd2c62132
weak_ptr converting constructor removed; operator< can now take different types to aid ownership tests.
...
[SVN r16376]
2002-11-23 12:47:38 +00:00
Peter Dimov
fadc0716ce
get_deleter_test added; associated fixes.
...
[SVN r16373]
2002-11-22 16:29:51 +00:00
Peter Dimov
8d6517484c
Stricter tests; associated bug fixes. ;-)
...
[SVN r16369]
2002-11-22 13:49:54 +00:00
Peter Dimov
66a8e8b3c1
get_deleter<> added.
...
[SVN r16365]
2002-11-21 14:46:45 +00:00
Peter Dimov
de68e6ed1e
A missing 'inline' added.
...
[SVN r16343]
2002-11-20 13:34:18 +00:00
Peter Dimov
804b1483c7
enable_shared_from_this-related fixes.
...
[SVN r16341]
2002-11-20 12:38:51 +00:00
Peter Dimov
4b200e9847
Borland fix (thanks to Fernando Cacciola)
...
[SVN r16331]
2002-11-19 18:21:32 +00:00
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