1786 Commits

Author SHA1 Message Date
Peter Dimov 220f35a0f1 Casts removed as unsafe, added intro paragraph about make_shared.
[SVN r13180]
2002-03-12 14:39:22 +00:00
Peter Dimov 72f83165e0 Removed casts as unsafe.
[SVN r13179]
2002-03-12 14:02:38 +00:00
Peter Dimov c17f8c36c1 weak_ptr::expired() added; weak_ptr documentation updated.
[SVN r13141]
2002-03-08 16:56:16 +00:00
Peter Dimov 8e604a9da9 Disabled the linux-specific versions since using kernel headers is problematic. #define BOOST_USE_ASM_ATOMIC_H to get them back.
[SVN r12995]
2002-03-01 16:17:08 +00:00
Darin Adler 3e0233a26c Minor text updates in history section.
[SVN r12956]
2002-02-27 17:03:30 +00:00
Peter Dimov aa98e2b37e Added lwm_irix.hpp (contributed by Dan Gohman)
[SVN r12955]
2002-02-27 16:35:15 +00:00
Peter Dimov 7b53c0040c More output.
[SVN r12852]
2002-02-18 12:39:32 +00:00
Peter Dimov e6605637f8 BOOST_LWM_WIN32_USE_CRITICAL_SECTION option.
[SVN r12842]
2002-02-16 18:45:20 +00:00
Peter Dimov 6dfe0896e3 Untabified.
[SVN r12838]
2002-02-16 16:14:16 +00:00
Peter Dimov 9f295cbb48 Threaded test added.
[SVN r12837]
2002-02-16 16:09:08 +00:00
Peter Dimov 76c19e6111 Enabled lwm_linux.hpp in lightweight_mutex.hpp.
[SVN r12834]
2002-02-16 15:00:55 +00:00
Peter Dimov 6e6a2a013a Added lwm_linux.hpp
[SVN r12833]
2002-02-16 14:34:34 +00:00
Peter Dimov 2482e00224 Modified scoped_* to use checked_delete; HP aCC doesn't like the inline assertions.
[SVN r12832]
2002-02-16 13:23:01 +00:00
Peter Dimov 7981b647c3 lwm_nop fixed to not emit warnings on g++; locking code #ifdef'ed since compilers sometimes have trouble removing it.
[SVN r12822]
2002-02-15 18:07:42 +00:00
Peter Dimov 875bab352c Added a timing test for the single/multi threaded perf ratio (~2:1)
[SVN r12821]
2002-02-15 18:06:17 +00:00
Peter Dimov 862dc0001f Documented the bool conversion.
[SVN r12817]
2002-02-15 14:46:53 +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
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 309e6dd82e Revised to match the style of the C++ standard.
[SVN r12806]
2002-02-14 17:12:07 +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
Darin Adler d2e20cf56c Remove obsolete paragraph
[SVN r12767]
2002-02-09 02:54:00 +00:00
Darin Adler a6126b1370 Fixed some broken internal links.
[SVN r12766]
2002-02-09 01:18:00 +00:00
Peter Dimov 87f0accb23 Minor fixes.
[SVN r12763]
2002-02-08 20:45:04 +00:00
Darin Adler 7add76dae8 Always say "private noncopyable" to avoid warnings.
[SVN r12762]
2002-02-08 20:08:15 +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 e1567707b1 Tab removed :-)
[SVN r12701]
2002-02-04 19:45:11 +00:00
Beman Dawes 08df55159b Fix broken links
[SVN r12697]
2002-02-04 18:51:16 +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
Darin Adler ee3d3bd1e1 Mention thread safety feature.
[SVN r12676]
2002-02-03 17:50:11 +00:00
Darin Adler 758954a93f Documentation updates.
[SVN r12675]
2002-02-03 17:46:08 +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
Douglas Gregor ddd6d54426 Need to include utility.hpp to get noncopyable
[SVN r12669]
2002-02-03 15:19:04 +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 8b5b780c2c better weak_ptr coverage
[SVN r12624]
2002-02-01 19:34:31 +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
Peter Dimov 58c5711b47 Added tests for the new smart pointers.
[SVN r12500]
2002-01-25 13:54:30 +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