Commit Graph

584 Commits

Author SHA1 Message Date
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 b1a1ab99aa Bug fixes.
[SVN r12787]
2002-02-12 20:38:31 +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
Darin Adler cd8dea78e6 Don't reinclude, since everything we need to include is already taken
care of by <boost/shared_ptr.hpp>.


[SVN r12776]
2002-02-09 17:18:38 +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
Peter Dimov 2a2f10fddd Borland 5.5.1 fix
[SVN r12761]
2002-02-08 18:40:49 +00:00
Darin Adler 0dd3285d56 New casts for smart pointers.
[SVN r12743]
2002-02-06 19:42:04 +00:00
Darin Adler f9782387d9 Tweaks.
[SVN r12715]
2002-02-04 22:52:48 +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
Douglas Gregor 590757e2b2 Don't give default arguments to function parameters what subsequent parameters do not have default arguments
[SVN r12670]
2002-02-03 15:21:41 +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 d3c76575f9 templated copy constructor added.
[SVN r12644]
2002-02-02 16:19:45 +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
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
Peter Dimov b104e9ae78 smart_ptr.hpp less<> fixed, partial specialization enabled on Sun 5.3
[SVN r12334]
2002-01-17 12:46:45 +00:00
Beman Dawes 5fbc553611 Reorder shared_ptr code so VC++ 6 member templates work, allowing polymorphic pointers to now work with that compiler (Gary Powell)
[SVN r10548]
2001-07-06 13:23:07 +00:00
Beman Dawes 94287044ba Oops! Fix boo boo from prior fix
[SVN r10206]
2001-05-24 01:32:07 +00:00
Beman Dawes 7c09884eac Move MS VC++ pragmas to workaround compiler crash reported by several people with SP4 and SP5.
[SVN r10204]
2001-05-23 20:14:15 +00:00
Beman Dawes a90a157ea6 Smart pointer and utility changes related to adding checked_delere and checked_array_delete
[SVN r10189]
2001-05-22 18:58:21 +00:00
Beman Dawes 8f23f07740 Fix transitive dependency bug
[SVN r10164]
2001-05-21 14:56:51 +00:00
Beman Dawes 2d342f0ddf Comment corrected (thanks to Joe Gottman)
[SVN r9582]
2001-03-19 12:34:12 +00:00
Beman Dawes 060ea4a573 Add a couple of comments to cut down on FAQ's
[SVN r9581]
2001-03-18 22:25:51 +00:00
Dave Abrahams cb1b1b7cc0 Suppress some useless warnings with MSVC
[SVN r8704]
2001-01-22 04:53:38 +00:00
John Maddock 4e832788bf Fix for egcs 1.1.1 problems with std::auto_ptr
[SVN r8225]
2000-11-16 11:17:22 +00:00
Beman Dawes 1412e40490 Make shared_ptr ctor from auto_ptr explicit. (Robert Vugts)
[SVN r8012]
2000-10-19 21:16:46 +00:00
Beman Dawes 90b7ec19d1 Changed throw() to // never throws.
[SVN r7628]
2000-07-24 16:21:10 +00:00
Beman Dawes 468c41041b This commit was generated by cvs2svn to compensate for changes in r4,
which included commits to RCS files with non-trunk default branches.


[SVN r7621]
2000-07-07 16:04:40 +00:00