Commit Graph

  • b632f1ef20 Debug hooks, general cleanup. Peter Dimov 2002-11-19 16:11:21 +00:00
  • 7f30268b10 Assignment tests added. Peter Dimov 2002-11-19 16:10:38 +00:00
  • 7504eff5af A missing Returns clause added. Peter Dimov 2002-11-19 16:10:07 +00:00
  • 8752c00ebf enable_shared_from_this documentation added. Peter Dimov 2002-11-19 14:22:58 +00:00
  • d0c5e83def Test for enable_shared_from_this added. Peter Dimov 2002-11-19 13:45:33 +00:00
  • f6b7ff4b34 Major changes to shared_ptr and weak_ptr Peter Dimov 2002-11-18 14:37:02 +00:00
  • 2314f20c4e element_type added Peter Dimov 2002-11-15 19:44:48 +00:00
  • ff7410cad2 Fixed a subtle problem in counted_base::release (report and test case by Per Kristensen) Peter Dimov 2002-11-12 13:14:50 +00:00
  • 57c0ad44f3 Changed typename to class; some libraries helpfully #define typename Peter Dimov 2002-10-23 13:55:18 +00:00
  • ae60bcaffb Small fixes. Peter Dimov 2002-10-17 13:23:11 +00:00
  • 9fa591db1f This commit was manufactured by cvs2svn to create tag 'Version_1_29_0'. boost-1.29.0 nobody 2002-10-11 15:17:55 +00:00
  • f2f616a95c BOOST_SP_USE_STD_ALLOCATOR support Peter Dimov 2002-10-08 16:37:33 +00:00
  • 71a0c0ee97 Fixes, notes. Peter Dimov 2002-09-23 13:32:54 +00:00
  • a8bb455df7 Fixes, notes. Peter Dimov 2002-09-23 13:22:38 +00:00
  • 4990c9c83e This commit was manufactured by cvs2svn to create branch 'RC_1_29_0'. nobody 2002-09-19 20:49:39 +00:00
  • 9dcbc46225 Minor fix Peter Dimov 2002-09-18 13:00:38 +00:00
  • 024f918b86 More documentation fixes reflecting Dave Abrahams' comments Peter Dimov 2002-09-17 13:59:17 +00:00
  • 0f05f41306 Documentation fixes (reflecting Dave Abrahams' comments) Peter Dimov 2002-09-16 15:26:52 +00:00
  • 4ea6decc7d scoped_ptr::reset changed to copy+swap (problem reported by Thomas Witt) Peter Dimov 2002-09-09 17:44:33 +00:00
  • f79b8cb7ae Tabs removed. Peter Dimov 2002-09-06 12:50:02 +00:00
  • 275cb77378 Fixed broken links. Peter Dimov 2002-08-31 13:04:52 +00:00
  • b916445dd8 weak_ptr documentation updates; get() declared deprecated. Peter Dimov 2002-08-29 15:18:04 +00:00
  • c02fee7013 *_ptr.hpp: - Revert addition of is_pointerlike_helper Douglas Gregor 2002-08-29 13:49:05 +00:00
  • e77889679f intrusive_ptr.hpp: scoped_ptr.hpp: - include <boost/type_traits/ice.hpp> Douglas Gregor 2002-08-27 13:33:22 +00:00
  • b9dceb2340 *_ptr.hpp: - Added detail::is_pointerlike_helper function templates for Signals Douglas Gregor 2002-08-26 15:27:23 +00:00
  • e84eb3f1ba Added #pragma's to fix codeguard errors. John Maddock 2002-08-20 11:08:11 +00:00
  • 92999be436 Corrected the shared_ptr(auto_ptr<Y> &) postcondition (reported by Maciej Sobczak) Peter Dimov 2002-08-19 16:23:07 +00:00
  • bd4f575567 HPUX 10.20 patch (problem reported by Tom Matelich) Peter Dimov 2002-08-17 13:33:41 +00:00
  • 09016db3c3 Note added to shared_ptr(Y*, D). Peter Dimov 2002-08-17 13:05:25 +00:00
  • c2ee5172b0 Switched to <boost/detail/lightweight_test.hpp> for testing. Peter Dimov 2002-08-16 16:41:16 +00:00
  • 8436c4d271 #pragma option -pc around use_count_is_zero added for Borland 5.5.1, to enable compilation with -ps set. Peter Dimov 2002-08-16 15:55:19 +00:00
  • a09c2e556f BOOST_NO_EXCEPTIONS support added. Peter Dimov 2002-08-14 12:27:22 +00:00
  • e650c7ff16 Changed BOOST_TEST(p) to BOOST_TEST(p? true: false) to make sure the right thing is being tested. Peter Dimov 2002-08-14 11:59:13 +00:00
  • c06b4206f2 #include <iostream> added. Peter Dimov 2002-08-13 15:58:12 +00:00
  • 89435a6287 get_pointer added. Peter Dimov 2002-07-27 16:02:26 +00:00
  • 5328674c2d Minor scoped_* fix (px -> ptr) (Thanks to Bertolt Mildner) Peter Dimov 2002-07-26 14:18:21 +00:00
  • 927fe73093 Changed #ifdefs so that member templates aren't disabled by an empty config.hpp. Peter Dimov 2002-07-24 15:36:25 +00:00
  • 053aa108e3 Tabs. Grrr. Peter Dimov 2002-07-24 14:14:17 +00:00
  • b5e5c35696 Minor updates. Peter Dimov 2002-07-24 10:20:30 +00:00
  • 77ad156c52 Design notes updated. Peter Dimov 2002-07-23 19:12:40 +00:00
  • 018c401e47 Best practices section, thread safety section, design notes added. Peter Dimov 2002-07-23 15:19:22 +00:00
  • f586d3f83e shared_ptr<void const> support added. Peter Dimov 2002-07-23 12:33:11 +00:00
  • 3f0ebd4c71 'shared_from_this' added. Peter Dimov 2002-07-22 16:36:52 +00:00
  • 33077bda71 Win64 patch (Tim Fenders) Peter Dimov 2002-07-19 20:06:35 +00:00
  • 547888d507 Consistent 'bool' conversions; scoped_ptr(auto_ptr); get_pointer(scoped_ptr) added. Peter Dimov 2002-07-17 15:15:39 +00:00
  • af6fe18c9d Minor fixes. Peter Dimov 2002-07-15 12:52:29 +00:00
  • dca9628be3 Disabled some Borland warnings (David B. Held) Peter Dimov 2002-07-09 12:06:46 +00:00
  • d84fa738ef Sleep(0) changed to Sleep(1) to (hopefully) avoid livelocks. Peter Dimov 2002-06-22 15:55:01 +00:00
  • a322dc54dc Platform-specific spinlocks disabled by default unless BOOST_LWM_USE_SPINLOCK is defined. Peter Dimov 2002-06-20 15:16:03 +00:00
  • 951c2b7e83 counted_base is now smaller Peter Dimov 2002-06-20 14:56:10 +00:00
  • 23f68a5657 Added libstdc++ v3 specific lightweight_mutex and atomic_count (contributed by Lars Gullik Bjønnes) Peter Dimov 2002-05-21 16:48:20 +00:00
  • d8a29ca735 This commit was manufactured by cvs2svn to create tag 'Version_1_28_0'. boost-1.28.0 nobody 2002-05-16 13:26:18 +00:00
  • da5e9a964c This commit was manufactured by cvs2svn to create branch 'RC_1_28_0'. nobody 2002-05-10 04:34:27 +00:00
  • ecb0b4478b Typo fixed. Peter Dimov 2002-05-09 11:16:29 +00:00
  • 70255d46bb Documented templated pointer constructors, revised the intro a bit. Peter Dimov 2002-05-04 14:27:21 +00:00
  • 4653c3673b shared_ptr now autodetects counted_bases; minor test updates; intrusive_ptr no longer calls addref/release for NULL pointers. Peter Dimov 2002-05-01 11:22:22 +00:00
  • 11eacab70e Made shared_ptr::share_ptr(Y * p) a member template. Peter Dimov 2002-04-23 14:56:42 +00:00
  • 110c0021e2 counted_base default constructor added Peter Dimov 2002-04-22 18:01:19 +00:00
  • 4c5e355a0b Bugfixes. Peter Dimov 2002-04-22 09:37:08 +00:00
  • fbc9028313 intrusive_ptr.hpp added (still experimental) Peter Dimov 2002-04-19 19:34:16 +00:00
  • 9b800d4f84 Added more mem_fn, shared_ptr tests. Peter Dimov 2002-04-10 16:04:53 +00:00
  • 513752eee5 Worked around an MSVC 6 bug (Markus Schoepflin) Peter Dimov 2002-04-10 14:12:12 +00:00
  • 9eb1ba7e9f test_main args must be *[] not ** for new rev of test tools Beman Dawes 2002-04-06 21:44:37 +00:00
  • fb5b1a20d2 Small modifications. Peter Dimov 2002-03-15 22:03:56 +00:00
  • b89945d36a Added winapi.hpp and a CRITICAL_SECTION lightweight_mutex variant. Peter Dimov 2002-03-15 22:00:10 +00:00
  • 220f35a0f1 Casts removed as unsafe, added intro paragraph about make_shared. Peter Dimov 2002-03-12 14:39:22 +00:00
  • 72f83165e0 Removed casts as unsafe. Peter Dimov 2002-03-12 14:02:38 +00:00
  • c17f8c36c1 weak_ptr::expired() added; weak_ptr documentation updated. Peter Dimov 2002-03-08 16:56:16 +00:00
  • 8e604a9da9 Disabled the linux-specific versions since using kernel headers is problematic. #define BOOST_USE_ASM_ATOMIC_H to get them back. Peter Dimov 2002-03-01 16:17:08 +00:00
  • 3e0233a26c Minor text updates in history section. Darin Adler 2002-02-27 17:03:30 +00:00
  • aa98e2b37e Added lwm_irix.hpp (contributed by Dan Gohman) Peter Dimov 2002-02-27 16:35:15 +00:00
  • 7b53c0040c More output. Peter Dimov 2002-02-18 12:39:32 +00:00
  • e6605637f8 BOOST_LWM_WIN32_USE_CRITICAL_SECTION option. Peter Dimov 2002-02-16 18:45:20 +00:00
  • 6dfe0896e3 Untabified. Peter Dimov 2002-02-16 16:14:16 +00:00
  • 9f295cbb48 Threaded test added. Peter Dimov 2002-02-16 16:09:08 +00:00
  • 76c19e6111 Enabled lwm_linux.hpp in lightweight_mutex.hpp. Peter Dimov 2002-02-16 15:00:55 +00:00
  • 6e6a2a013a Added lwm_linux.hpp Peter Dimov 2002-02-16 14:34:34 +00:00
  • 2482e00224 Modified scoped_* to use checked_delete; HP aCC doesn't like the inline assertions. Peter Dimov 2002-02-16 13:23:01 +00:00
  • 7981b647c3 lwm_nop fixed to not emit warnings on g++; locking code #ifdef'ed since compilers sometimes have trouble removing it. Peter Dimov 2002-02-15 18:07:42 +00:00
  • 875bab352c Added a timing test for the single/multi threaded perf ratio (~2:1) Peter Dimov 2002-02-15 18:06:17 +00:00
  • 862dc0001f Documented the bool conversion. Peter Dimov 2002-02-15 14:46:53 +00:00
  • adc3ec3851 Fixes. Peter Dimov 2002-02-15 14:19:30 +00:00
  • 5a6cd1cf3e Added a default constructor to shared_count and shared_ptr for incomplete types (void). Peter Dimov 2002-02-15 13:31:58 +00:00
  • 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. Douglas Gregor 2002-02-14 23:08:30 +00:00
  • 309e6dd82e Revised to match the style of the C++ standard. Peter Dimov 2002-02-14 17:12:07 +00:00
  • 6c5d296722 Modified weak_ptr to reflect list comments. Peter Dimov 2002-02-13 13:16:15 +00:00
  • b1a1ab99aa Bug fixes. Peter Dimov 2002-02-12 20:38:31 +00:00
  • 1b69c14f45 weak_ptr made thread safe, shared->weak conversions, lightweight_mutex added. Peter Dimov 2002-02-12 16:55:25 +00:00
  • cd8dea78e6 Don't reinclude, since everything we need to include is already taken care of by <boost/shared_ptr.hpp>. Darin Adler 2002-02-09 17:18:38 +00:00
  • d77b35f333 Fix the g++ 2.9x operator!= ambiguity. Peter Dimov 2002-02-09 15:45:29 +00:00
  • 6f7b927641 weak_ptr::operator< is now stable, shared_ptr_test has much better coverage. Peter Dimov 2002-02-09 12:34:05 +00:00
  • d2e20cf56c Remove obsolete paragraph Darin Adler 2002-02-09 02:54:00 +00:00
  • a6126b1370 Fixed some broken internal links. Darin Adler 2002-02-09 01:18:00 +00:00
  • 87f0accb23 Minor fixes. Peter Dimov 2002-02-08 20:45:04 +00:00
  • 7add76dae8 Always say "private noncopyable" to avoid warnings. Darin Adler 2002-02-08 20:08:15 +00:00
  • 2a2f10fddd Borland 5.5.1 fix Peter Dimov 2002-02-08 18:40:49 +00:00
  • e982a20e93 This commit was manufactured by cvs2svn to create tag 'Version_1_27_0'. boost-1.27.0 nobody 2002-02-07 13:33:59 +00:00
  • 0dd3285d56 New casts for smart pointers. Darin Adler 2002-02-06 19:42:04 +00:00
  • d1f2ed19d3 This commit was manufactured by cvs2svn to create branch 'RC_1_27_0'. nobody 2002-02-06 03:32:50 +00:00
  • f9782387d9 Tweaks. Darin Adler 2002-02-04 22:52:48 +00:00