Commit Graph

  • a24ec3988a Quick_allocator updates. Peter Dimov 2003-02-07 15:08:52 +00:00
  • 23f7532a9f Disabled some watnings. Peter Dimov 2003-02-06 17:16:06 +00:00
  • a790191bc5 Small fixes. Peter Dimov 2003-02-06 14:54:15 +00:00
  • 86e9a322ba Documentation fixes, make_shared -> get_shared_ptr. Peter Dimov 2003-02-05 12:56:48 +00:00
  • 98fa979aef Added copyright. Peter Dimov 2003-02-04 13:35:06 +00:00
  • be0267f9a3 Enabled copy assignment on all Borland versions (for Kylix) and g++ (for -Wsynth, report by Wolfgang Bangerth) Peter Dimov 2003-02-03 13:48:33 +00:00
  • 44afc7e5cd really prevent shared_ptr_alloc_test building from status/. Dave Abrahams 2003-01-30 20:57:34 +00:00
  • d2c7febd26 cleanup, add shared_ptr_alloc_test. Dave Abrahams 2003-01-30 18:20:51 +00:00
  • ddf1f0fdcc Fixed a deadlock in free_unreachable_objects. Peter Dimov 2003-01-30 15:06:32 +00:00
  • cd41426fe9 Dave's quick_allocator added, #define BOOST_SP_USE_QUICK_ALLOCATOR to make shared_ptr use it. Peter Dimov 2003-01-30 14:20:22 +00:00
  • 89ea2156bc intrusive_ptr_test.cpp added. Peter Dimov 2003-01-27 14:09:21 +00:00
  • fabd6e5755 Moved 'garbage collector' to sp_collector.cpp, collector_test.cpp added. Peter Dimov 2003-01-27 14:02:00 +00:00
  • b60de38d28 Fixed broken links. Peter Dimov 2003-01-25 17:58:01 +00:00
  • 2dbfc89d4e Removed redundant copy constructor and copy assignment. Peter Dimov 2003-01-25 16:51:45 +00:00
  • abb0d9e725 Moved smart_ptr contents to subdirectories, switched to a local test/Jamfile. Peter Dimov 2003-01-25 16:17:17 +00:00
  • d030182e87 intrusive_ptr_test added. Peter Dimov 2003-01-22 15:22:30 +00:00
  • bd39e2eded intrusive_ptr.html added. Peter Dimov 2003-01-21 17:21:24 +00:00
  • d04757128c shared_ptr techniques initial commit Peter Dimov 2003-01-21 15:55:59 +00:00
  • 868062e81d Add TOC and References sections Beman Dawes 2003-01-15 16:35:48 +00:00
  • 6bd66fe054 detail::counted_base renamed to sp_counted_base. Peter Dimov 2003-01-14 15:13:53 +00:00
  • c5bae28eeb use_count() postconditions added; enable_..._test.cpp renamed. Peter Dimov 2003-01-13 18:32:16 +00:00
  • 78a47d7619 Algorithm improvements, free_unreachable_objects() added. Peter Dimov 2003-01-13 17:11:28 +00:00
  • 8eaf187dbd fix bookmarks Beman Dawes 2003-01-09 13:37:41 +00:00
  • d36a215554 fix invalid bookmarks Beman Dawes 2003-01-09 13:11:10 +00:00
  • 8448bbf0b9 Fixes. Peter Dimov 2003-01-08 15:01:04 +00:00
  • 1dee6e0229 Small optimization. Peter Dimov 2003-01-07 23:12:02 +00:00
  • e3f2329c14 report_unreachable_objects() added to sp_debug_hooks.cpp Peter Dimov 2003-01-07 15:34:56 +00:00
  • 3e616752c9 weak_ptr documentation updated; still a work in progress. Peter Dimov 2003-01-04 14:24:14 +00:00
  • 987a7d32fb Documentation updated to reflect changes to shared_ptr Peter Dimov 2003-01-03 16:53:04 +00:00
  • fafd9a863b Workarounds for vc6-stlport Dave Abrahams 2002-12-26 18:23:11 +00:00
  • 51e9783a21 Factor out get_pointer, supply an overload for std::auto_ptr. Dave Abrahams 2002-12-20 18:15:01 +00:00
  • eee96e8059 Borland 5.6.1 still broken. Peter Dimov 2002-12-19 18:15:53 +00:00
  • 1ef2a5b059 More weak_ptr tests. Peter Dimov 2002-12-03 13:27:35 +00:00
  • c5f7c973d9 Bug in get_deleter fixed. Peter Dimov 2002-12-02 14:34:06 +00:00
  • 572a97d3c4 Casts renamed. Peter Dimov 2002-11-29 14:05:22 +00:00
  • a3d87ff623 Comeau-specific fix. Peter Dimov 2002-11-28 13:42:44 +00:00
  • 468f63261a weak_ptr_test.cpp added. Peter Dimov 2002-11-26 16:01:17 +00:00
  • e60c1f9b49 Some versions of g++ 2.9x don't have basic_ostream. Peter Dimov 2002-11-25 13:52:42 +00:00
  • 72bcb8ff46 More tests added. Peter Dimov 2002-11-25 13:51:56 +00:00
  • 12b1871136 operator<< added, as the conversion to 'bool' implicitly defines one anyway. Peter Dimov 2002-11-25 12:27:11 +00:00
  • 9632464c45 Test w/ NULL pointer to enabled_... object added; bug fixed. Peter Dimov 2002-11-25 12:17:56 +00:00
  • 1311731e24 Moved the old shared_ptr tests into shared_ptr_basic_test.cpp Peter Dimov 2002-11-25 12:12:45 +00:00
  • 980307a90a Reintroduced weak_ptr converting constructor; map<weak_ptr<>, ...> is important. Peter Dimov 2002-11-25 12:09:13 +00:00
  • 1f9908be69 Borland C++ 5.6 still needs the workaround. Peter Dimov 2002-11-23 19:18:05 +00:00
  • 0aaca2fffe More operator< tests. Peter Dimov 2002-11-23 12:59:01 +00:00
  • 5dd2c62132 weak_ptr converting constructor removed; operator< can now take different types to aid ownership tests. Peter Dimov 2002-11-23 12:47:38 +00:00
  • fadc0716ce get_deleter_test added; associated fixes. Peter Dimov 2002-11-22 16:29:51 +00:00
  • ea285b4231 Fixed the previous weak_ptr 'fix'. Peter Dimov 2002-11-22 14:41:22 +00:00
  • 8d6517484c Stricter tests; associated bug fixes. ;-) Peter Dimov 2002-11-22 13:49:54 +00:00
  • 66a8e8b3c1 get_deleter<> added. Peter Dimov 2002-11-21 14:46:45 +00:00
  • c697e2ef21 Sample implementation of the smart pointer debug hooks. Peter Dimov 2002-11-21 13:23:15 +00:00
  • 2e53e2e5d7 More tests added. Peter Dimov 2002-11-21 13:20:46 +00:00
  • 8283ec826b Changed debug hook names, reverted weak_ptr() to have use_count of zero. Peter Dimov 2002-11-21 13:14:04 +00:00
  • e32b2adfda Debug hook support, removed self-reset, fixed #%20links. Peter Dimov 2002-11-21 13:10:18 +00:00
  • e555d33695 Added array versions of the hooks. Peter Dimov 2002-11-20 16:18:13 +00:00
  • de68e6ed1e A missing 'inline' added. Peter Dimov 2002-11-20 13:34:18 +00:00
  • 804b1483c7 enable_shared_from_this-related fixes. Peter Dimov 2002-11-20 12:38:51 +00:00
  • 4b200e9847 Borland fix (thanks to Fernando Cacciola) Peter Dimov 2002-11-19 18:21:32 +00:00
  • f34866e8a5 License added. Peter Dimov 2002-11-19 16:23:01 +00:00
  • 45c799f40c Debug hook support moved to shared_count. Peter Dimov 2002-11-19 16:18:58 +00:00
  • 11a046f628 BOOST_ASSERTs added. Peter Dimov 2002-11-19 16:18:18 +00:00
  • 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