Commit Graph
12 Commits
Author SHA1 Message Date
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
Douglas Gregor 5e2f514140 Added forward declaration of 'weak_count' class, which is referenced in
shared_count; the friend declaration does not suffice to forward-declare the
name.


[SVN r12813]
2002-02-14 23:08:30 +00:00
Peter Dimov 6c5d296722 Modified weak_ptr to reflect list comments.
[SVN r12793]
2002-02-13 13:16:15 +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 6f7b927641 weak_ptr::operator< is now stable, shared_ptr_test has much better coverage.
[SVN r12769]
2002-02-09 12:34:05 +00:00
Peter Dimov c29cc62d66 Minor tweaks.
[SVN r12684]
2002-02-04 11:15:40 +00:00
Darin Adler 6ed07733cb Fix atomic_count.hpp includes, convert Macintosh newlines to Unix ones,
since Metrowerks supports either and the rest of Boost uses Unix ones.


[SVN r12683]
2002-02-04 08:00:20 +00:00
Peter Dimov 39c10f739d added an auto_ptr & constructor to shared_count
[SVN r12623]
2002-02-01 18:40:35 +00:00
Darin Adler 4fdc84f29e Make the non-threads version work.
[SVN r12597]
2002-01-31 06:52:58 +00:00
Peter Dimov a8efe20862 Comments added.
[SVN r12510]
2002-01-25 16:10:26 +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