Peter Dimov
b2354d0a5e
BOOST_NO_TYPEID support ( #1108 ).
...
[SVN r38977]
2007-08-26 20:35:52 +00:00
Peter Dimov
e0ca42bb88
BOOST_NO_TYPEID support ( #1108 ).
...
[SVN r38976]
2007-08-26 20:34:40 +00:00
Peter Dimov
bca336bf35
Updated the unspecified_bool_type to match shared_ptr.
...
[SVN r38975]
2007-08-26 19:42:50 +00:00
Peter Dimov
ecb41cb150
sp_unary_addr_test added (reported by Scott French)
...
[SVN r38137]
2007-07-04 16:35:44 +00:00
Peter Dimov
5b57eff9b8
atomic_count_gcc_x86 added since _sync doesn't work on i386
...
[SVN r37637]
2007-05-08 20:14:38 +00:00
Peter Dimov
f980da560a
Use __sync intrinsics on g++ 4.1+
...
[SVN r37528]
2007-04-28 18:13:12 +00:00
Peter Dimov
ffba68221b
Use __sync intrinsics on g++ 4.1+
...
[SVN r37527]
2007-04-28 16:15:13 +00:00
Peter Dimov
86d3f0aba7
Changed move constructors/assignments to leave the source empty
...
[SVN r37439]
2007-04-15 02:47:45 +00:00
Peter Dimov
66a25bd4a9
Move support
...
[SVN r37434]
2007-04-13 22:04:22 +00:00
Peter Dimov
26f83e75ef
intrusive_ptr::reset added
...
[SVN r37406]
2007-04-09 21:35:07 +00:00
Peter Dimov
ce72827dc7
Aliasing support
...
[SVN r37405]
2007-04-09 18:48:47 +00:00
Peter Dimov
6e8f075d42
make_shared removed
...
[SVN r37404]
2007-04-09 18:42:49 +00:00
Peter Dimov
ae6c180be8
_MANAGED fix for sp_enable_shared_from_this
...
[SVN r37403]
2007-04-09 16:37:30 +00:00
Peter Dimov
54e12d03fd
Aliasing constructor added
...
[SVN r37402]
2007-04-09 16:32:45 +00:00
Peter Dimov
97118668e2
Fix compare_fail failure
...
[SVN r37373]
2007-04-06 00:21:41 +00:00
Peter Dimov
1c3813ce52
BOOST_ASSERTs added (SF patch 1612733 by 'Baraclese')
...
[SVN r36316]
2006-12-10 21:01:55 +00:00
Peter Dimov
b440e85452
Fixed get_deleter comment
...
[SVN r36229]
2006-12-01 14:24:58 +00:00
Peter Dimov
6284a1abef
TR1 conformance fix
...
[SVN r35948]
2006-11-09 12:15:23 +00:00
Peter Dimov
75bc821afd
Patch #1551992 (Michael Fink)
...
[SVN r35882]
2006-11-06 17:25:59 +00:00
Peter Dimov
6412de1dd5
TR1 cyclic dependency fixes.
...
[SVN r34499]
2006-07-10 13:17:41 +00:00
Peter Dimov
8d2f7fc5ef
g++/SPARC version by Piotr Wyderski, thanks to Tomas Puverle and Michael van der Westhuizen
...
[SVN r34480]
2006-07-08 17:44:55 +00:00
Peter Dimov
ffd73c39b3
Solaris implementation by Michael van der Westhuizen
...
[SVN r34450]
2006-07-03 10:02:46 +00:00
Peter Dimov
4fcee64483
New, improved and more portable unspecified bool type. I hope.
...
[SVN r33987]
2006-05-17 22:39:34 +00:00
Peter Dimov
203764eb51
Fix VC6 codegen issue (Alain Cormier)
...
[SVN r33747]
2006-04-19 21:03:18 +00:00
Peter Dimov
747c9a1d3e
Rvalue auto_ptr constructor is no longer explicit.
...
[SVN r33526]
2006-03-29 19:19:14 +00:00
Peter Dimov
e38d0daaab
Fix issues on HP-UX (ILP32 model)
...
[SVN r33449]
2006-03-22 22:46:53 +00:00
Peter Dimov
24d1e6f8dd
Added 'm'(*pw) inputs (thanks to Howard Hinnant)
...
[SVN r33364]
2006-03-18 01:48:21 +00:00
Peter Dimov
e427716dc2
Fully qualified detail:: to work around a subtle VC 7.1 problem.
...
[SVN r32994]
2006-02-18 19:17:33 +00:00
Peter Dimov
a86b2f7fbf
Rvalue auto_ptr support, technique by Dave Abrahams
...
[SVN r32326]
2006-01-15 13:54:53 +00:00
Peter Dimov
90b5a3736a
Pointer utilities added (proposed by Ion Gaztañaga)
...
[SVN r31932]
2005-12-06 13:26:13 +00:00
Peter Dimov
239bb6d966
#include reorderings for Boost.TR1
...
[SVN r31623]
2005-11-11 21:06:08 +00:00
Peter Dimov
25ca855127
shared_ptr( p, d, a ) added.
...
[SVN r31613]
2005-11-09 20:05:42 +00:00
Peter Dimov
0127c06692
Added a note that it's not necessary to initialize _internal_weak_this.
...
[SVN r31566]
2005-11-05 14:40:29 +00:00
Peter Dimov
92a027fbeb
Minor warning fix for SGI MIPSPro (Kevin Wheatley)
...
[SVN r31113]
2005-09-25 22:00:31 +00:00
Peter Dimov
7bfddbccf6
Comparison operators against a raw pointer now accept different types
...
[SVN r31110]
2005-09-25 21:27:00 +00:00
Douglas Gregor
c6a4e93a05
Qualify detail references
...
[SVN r30824]
2005-09-06 03:28:01 +00:00
John Maddock
ff7e027648
Large patch from Ulrich Eckhardt to fix support for EVC++ 4.
...
[SVN r30670]
2005-08-25 16:27:28 +00:00
Peter Dimov
08f517b5b0
Switched to 'int' because 'long' is 64 bits on PPC64
...
[SVN r30641]
2005-08-23 21:32:42 +00:00
Peter Dimov
6b3f961542
Removed explicit register use (thanks to Howard Hinnant)
...
[SVN r30585]
2005-08-15 19:44:15 +00:00
Peter Dimov
8d2aeea3a8
Moved warning 8027 suppression above the #includes
...
[SVN r29852]
2005-06-30 21:49:40 +00:00
Joaquín M. López Muñoz
24c23b8064
disabled asm implementation for ICC/IA64
...
[SVN r29166]
2005-05-24 12:11:35 +00:00
Peter Dimov
880c2e1062
Detabified.
...
[SVN r29039]
2005-05-18 20:10:01 +00:00
Rene Rivera
8bacee46eb
Add x86 assembly implementation for use with CodeWarrior. Commented out initially until we can get more widespread testing for verification of performance improvements (if any).
...
[SVN r28422]
2005-04-22 16:36:38 +00:00
Ben Hutchings
4e4ec29fc9
Added an implementation of sp_counted_base for g++/ia64.
...
[SVN r28325]
2005-04-19 17:43:48 +00:00
Rene Rivera
df1d8b27df
Make assembly functions inline to prevent multiple definitions. Required to change from function level assembly to regular functions with statement level assembly.
...
[SVN r28133]
2005-04-11 15:59:44 +00:00
Peter Dimov
76722e125f
Clear reservation for 970 (thanks to Miro Jurisic and Philip Koch)
...
[SVN r28060]
2005-04-08 10:39:28 +00:00
Peter Dimov
d24f6d3b97
Remove hardcoded ebx
...
[SVN r28017]
2005-04-06 14:12:40 +00:00
Peter Dimov
6ab6b66601
One more long -> int fix
...
[SVN r28016]
2005-04-06 13:40:34 +00:00
Peter Dimov
559056c856
x86-64 fixes: long -> int, lea -> mov+inc
...
[SVN r28015]
2005-04-06 13:34:41 +00:00
Peter Dimov
13c128f98f
Enabled PPC versions
...
[SVN r28007]
2005-04-06 08:15:48 +00:00
Rene Rivera
3ebc9b8f0b
Remove extra argument to atomic_dcrement.
...
[SVN r27994]
2005-04-06 00:32:09 +00:00
Peter Dimov
361a7c3fd0
PowerPC dispatch added, disabled for now.
...
[SVN r27988]
2005-04-05 20:39:56 +00:00
Peter Dimov
faa675ad6a
PowerPC implementations added.
...
[SVN r27986]
2005-04-05 20:29:15 +00:00
Peter Dimov
319836fe78
Constraints fixed (again), volatile/memory clobber removed from conditional_inc
...
[SVN r27983]
2005-04-05 16:04:36 +00:00
Peter Dimov
d0656015ad
Fixed 'eax' to '%eax' in clobber; enabled gcc/x86 version
...
[SVN r27965]
2005-04-04 22:43:03 +00:00
Peter Dimov
f1a9148a43
Constraints fixed for g++ 3.4, atomic_increment added
...
[SVN r27958]
2005-04-04 19:36:18 +00:00
Peter Dimov
a0eb5daf75
Mark eax as earlyclobber
...
[SVN r27937]
2005-04-02 18:56:38 +00:00
Peter Dimov
6046a099ba
Added an implementation of sp_counted_base for g++/x86
...
[SVN r27933]
2005-04-02 17:14:26 +00:00
Peter Dimov
e0ee037e2d
Spinlocks removed.
...
[SVN r27932]
2005-04-02 13:12:28 +00:00
Peter Dimov
52587aaa05
Fixed shared_ptr_delete_fail failure on g++ 3.3 and below
...
[SVN r27930]
2005-04-02 12:00:14 +00:00
Peter Dimov
0669d41076
Atomics are in namespace __gnu_cxx for g++ 3.4+
...
[SVN r27929]
2005-04-02 11:37:53 +00:00
Peter Dimov
8f2beee8e9
Link fixed.
...
[SVN r27906]
2005-04-01 19:33:00 +00:00
Peter Dimov
3adfc7842c
Kill *_linux variants of atomic_count and lightweight_mutex.
...
[SVN r27889]
2005-03-30 22:52:54 +00:00
Peter Dimov
a67e505cf5
Made use of detail/interlocked.hpp
...
[SVN r27810]
2005-03-24 21:29:29 +00:00
Peter Dimov
c6bf857f8b
Made the pthread mutex mutable
...
[SVN r27740]
2005-03-18 21:27:22 +00:00
Peter Dimov
14024e2598
Add a comment thanking Ben Hutchings for the #w+(#s!=0) formulation
...
[SVN r27735]
2005-03-18 13:04:43 +00:00
Peter Dimov
34953d8a45
Split sp_counted_base into no threads (nt), win32 lock-free (w32) and pthreads (pt)
...
[SVN r27729]
2005-03-18 01:27:11 +00:00
Peter Dimov
09a0ba8c75
sp_counted_impl_p added for the pointer constructor
...
[SVN r27727]
2005-03-17 23:30:47 +00:00
Peter Dimov
b0eb65b433
Refactored sp_counted_impl.hpp out of shared_count.hpp
...
[SVN r27726]
2005-03-17 23:05:26 +00:00
Peter Dimov
c830315dff
Refactored shared_count.hpp into bad_weak_ptr.hpp, sp_counted_base.hpp
...
[SVN r27725]
2005-03-17 22:45:11 +00:00
Peter Dimov
b07447aa6e
BCB 6.4 still needs option -pc (reported by Pavel Vozenilek)
...
[SVN r27672]
2005-03-15 16:02:01 +00:00
Peter Dimov
7d59d29ad1
HP aCC fix for get_deleter (Jaroslav Gresula)
...
[SVN r27092]
2005-02-04 16:28:50 +00:00
Peter Dimov
8f317492ee
Outdated comment removed (Jonathan Wakely)
...
[SVN r26272]
2004-11-22 12:32:35 +00:00
John Maddock
1bc58ea861
Updated to use the BSL (using permissions supplied in more/blanket-permission.txt)
...
[SVN r24804]
2004-08-29 10:29:46 +00:00
Peter Dimov
27be736b8f
Fixed sp_enable_shared_from_this to not use void cv * since this breaks function types.
...
[SVN r24718]
2004-08-24 16:27:31 +00:00
Douglas Gregor
ef51f6a1de
License update
...
[SVN r24598]
2004-08-19 15:23:47 +00:00
Douglas Gregor
6b00a55542
License updates
...
[SVN r24597]
2004-08-19 15:19:17 +00:00
John Maddock
858cefbfe8
Removed boost.org copyright assignments, and reverted to orginal author (as based on cvs history).
...
[SVN r24402]
2004-08-11 10:59:33 +00:00
Douglas Gregor
cb6cb636f7
Converted to Boost Software License, Version 1.0
...
[SVN r24055]
2004-07-26 00:32:12 +00:00
Peter Dimov
9c67a59d43
Fixed lwm_gcc, had the same bug as atomic_count_gcc (Tyson Whitehead)
...
[SVN r23367]
2004-07-06 10:52:06 +00:00
Peter Dimov
7361e476b8
Fixed operator--
...
[SVN r23210]
2004-06-27 15:40:29 +00:00
Peter Dimov
e1bd18f6a6
Made value_ mutable to enable operator long() const to compile
...
[SVN r23208]
2004-06-27 15:09:46 +00:00
Peter Dimov
c48f05dcb4
enable_shared_from_this is now const-tolerant.
...
[SVN r22298]
2004-02-16 18:50:07 +00:00
Peter Dimov
53cc52127b
Self-assignment optimization
...
[SVN r22233]
2004-02-10 23:17:12 +00:00
Peter Dimov
93d69af60a
_MSC_VER use clarified.
...
[SVN r20992]
2003-11-28 15:35:21 +00:00
Dave Abrahams
15d6b2aace
CWPro8 workaround
...
[SVN r20323]
2003-10-09 14:14:26 +00:00
Dave Abrahams
feff6e40ea
Use conforming is_class for EDG compilers
...
Make is_enum work for class types which are convertible to anything at
all (on many compilers).
smart_ptr library workarounds for __MWERKS__ (must use member function
pointer for unspecified_bool_type).
[SVN r20244]
2003-10-02 17:49:06 +00:00
Peter Dimov
96f572b19b
Switched unspecified_bool_type to data member pointer.
...
[SVN r20238]
2003-10-01 11:12:15 +00:00
Peter Dimov
f2c5439644
'volatile' fixes.
...
[SVN r19961]
2003-09-08 12:26:02 +00:00
Peter Dimov
b4ec0e90fb
Switched weak_count_ from #shared+#weak to #weak+(#shared != 0); thanks to Alexander Terekhov and Ben Hutchings
...
[SVN r19246]
2003-07-21 14:17:03 +00:00
Peter Dimov
2d4eb92401
get_deleter fix for EDG 2.38
...
[SVN r19148]
2003-07-16 11:54:49 +00:00
Peter Dimov
192970b3b8
const_pointer_cast added.
...
[SVN r19147]
2003-07-16 11:51:12 +00:00
Peter Dimov
7c36a640ae
add_ref split to add_ref_copy and add_ref_lock to eliminate the redundant use_count_ == 0 check.
...
[SVN r19126]
2003-07-15 12:18:40 +00:00
Peter Dimov
794de98cd1
#include <boost/config.hpp> added.
...
[SVN r19065]
2003-07-11 17:03:56 +00:00
Peter Dimov
dcdbaf1e57
A binary compatible 'null' lightweight_mutex for Win32 added.
...
[SVN r18916]
2003-07-02 11:54:40 +00:00
Peter Dimov
889cb6bee6
-Wundef fixes.
...
[SVN r18788]
2003-06-12 17:09:24 +00:00
Peter Dimov
77c629b6e4
smart_ptr.hpp now includes all smart pointer headers for convenience.
...
[SVN r18588]
2003-05-28 13:51:35 +00:00
Peter Dimov
d091ee85c0
Turns out Sun CC doesn't like operator int().
...
[SVN r18512]
2003-05-23 13:46:07 +00:00
Peter Dimov
bc00d5fa1a
Fixed bool conversions for Sun 5.3
...
[SVN r18419]
2003-05-16 12:11:17 +00:00
Peter Dimov
e760759414
Fixed a copy/assignment issue.
...
[SVN r18122]
2003-03-28 12:27:55 +00:00
Peter Dimov
851d87a1bb
get_shared_ptr renamed to weak_ptr::lock.
...
[SVN r17307]
2003-02-10 15:56:36 +00:00
Peter Dimov
34f423f811
atomic_count and lightweight_mutex now report an #error on unknown threading configs.
...
[SVN r17303]
2003-02-10 12:58:50 +00:00
Peter Dimov
190893a1ce
BOOST_ENABLE_SP_DEBUG_HOOKS -> BOOST_SP_ENABLE_DEBUG_HOOKS
...
[SVN r17301]
2003-02-10 12:54:43 +00:00
Peter Dimov
4244992d4d
Split winapi.hpp across win32-specific headers, added BOOST_USE_WINDOWS_H option.
...
[SVN r17277]
2003-02-08 16:05:46 +00:00
Peter Dimov
86e9a322ba
Documentation fixes, make_shared -> get_shared_ptr.
...
[SVN r17230]
2003-02-05 12:56:48 +00:00
Peter Dimov
be0267f9a3
Enabled copy assignment on all Borland versions (for Kylix) and g++ (for -Wsynth, report by Wolfgang Bangerth)
...
[SVN r17173]
2003-02-03 13:48:33 +00:00
Peter Dimov
cd41426fe9
Dave's quick_allocator added, #define BOOST_SP_USE_QUICK_ALLOCATOR to make shared_ptr use it.
...
[SVN r17087]
2003-01-30 14:20:22 +00:00
Peter Dimov
fabd6e5755
Moved 'garbage collector' to sp_collector.cpp, collector_test.cpp added.
...
[SVN r17050]
2003-01-27 14:02:00 +00:00
Peter Dimov
d030182e87
intrusive_ptr_test added.
...
[SVN r16993]
2003-01-22 15:22:30 +00:00
Peter Dimov
bd39e2eded
intrusive_ptr.html added.
...
[SVN r16981]
2003-01-21 17:21:24 +00:00
Peter Dimov
6bd66fe054
detail::counted_base renamed to sp_counted_base.
...
[SVN r16900]
2003-01-14 15:13:53 +00:00
Peter Dimov
c5bae28eeb
use_count() postconditions added; enable_..._test.cpp renamed.
...
[SVN r16896]
2003-01-13 18:32:16 +00:00
Peter Dimov
e3f2329c14
report_unreachable_objects() added to sp_debug_hooks.cpp
...
[SVN r16780]
2003-01-07 15:34:56 +00:00
Peter Dimov
3e616752c9
weak_ptr documentation updated; still a work in progress.
...
[SVN r16748]
2003-01-04 14:24:14 +00:00
Peter Dimov
987a7d32fb
Documentation updated to reflect changes to shared_ptr
...
[SVN r16739]
2003-01-03 16:53:04 +00:00
Dave Abrahams
fafd9a863b
Workarounds for vc6-stlport
...
[SVN r16706]
2002-12-26 18:23:11 +00:00
Dave Abrahams
51e9783a21
Factor out get_pointer, supply an overload for std::auto_ptr.
...
[SVN r16672]
2002-12-20 18:15:01 +00:00
Peter Dimov
eee96e8059
Borland 5.6.1 still broken.
...
[SVN r16666]
2002-12-19 18:15:53 +00:00
Peter Dimov
c5f7c973d9
Bug in get_deleter fixed.
...
[SVN r16477]
2002-12-02 14:34:06 +00:00
Peter Dimov
572a97d3c4
Casts renamed.
...
[SVN r16457]
2002-11-29 14:05:22 +00:00
Peter Dimov
e60c1f9b49
Some versions of g++ 2.9x don't have basic_ostream.
...
[SVN r16406]
2002-11-25 13:52:42 +00:00
Peter Dimov
12b1871136
operator<< added, as the conversion to 'bool' implicitly defines one anyway.
...
[SVN r16403]
2002-11-25 12:27:11 +00:00
Peter Dimov
9632464c45
Test w/ NULL pointer to enabled_... object added; bug fixed.
...
[SVN r16402]
2002-11-25 12:17:56 +00:00
Peter Dimov
980307a90a
Reintroduced weak_ptr converting constructor; map<weak_ptr<>, ...> is important.
...
[SVN r16400]
2002-11-25 12:09:13 +00:00
Peter Dimov
1f9908be69
Borland C++ 5.6 still needs the workaround.
...
[SVN r16379]
2002-11-23 19:18:05 +00:00
Peter Dimov
5dd2c62132
weak_ptr converting constructor removed; operator< can now take different types to aid ownership tests.
...
[SVN r16376]
2002-11-23 12:47:38 +00:00
Peter Dimov
fadc0716ce
get_deleter_test added; associated fixes.
...
[SVN r16373]
2002-11-22 16:29:51 +00:00
Peter Dimov
ea285b4231
Fixed the previous weak_ptr 'fix'.
...
[SVN r16370]
2002-11-22 14:41:22 +00:00
Peter Dimov
8d6517484c
Stricter tests; associated bug fixes. ;-)
...
[SVN r16369]
2002-11-22 13:49:54 +00:00
Peter Dimov
66a8e8b3c1
get_deleter<> added.
...
[SVN r16365]
2002-11-21 14:46:45 +00:00
Peter Dimov
8283ec826b
Changed debug hook names, reverted weak_ptr() to have use_count of zero.
...
[SVN r16362]
2002-11-21 13:14:04 +00:00
Peter Dimov
e32b2adfda
Debug hook support, removed self-reset, fixed #%20links.
...
[SVN r16361]
2002-11-21 13:10:18 +00:00
Peter Dimov
e555d33695
Added array versions of the hooks.
...
[SVN r16346]
2002-11-20 16:18:13 +00:00
Peter Dimov
de68e6ed1e
A missing 'inline' added.
...
[SVN r16343]
2002-11-20 13:34:18 +00:00
Peter Dimov
804b1483c7
enable_shared_from_this-related fixes.
...
[SVN r16341]
2002-11-20 12:38:51 +00:00
Peter Dimov
4b200e9847
Borland fix (thanks to Fernando Cacciola)
...
[SVN r16331]
2002-11-19 18:21:32 +00:00
Peter Dimov
f34866e8a5
License added.
...
[SVN r16326]
2002-11-19 16:23:01 +00:00
Peter Dimov
45c799f40c
Debug hook support moved to shared_count.
...
[SVN r16325]
2002-11-19 16:18:58 +00:00
Peter Dimov
11a046f628
BOOST_ASSERTs added.
...
[SVN r16324]
2002-11-19 16:18:18 +00:00
Peter Dimov
b632f1ef20
Debug hooks, general cleanup.
...
[SVN r16323]
2002-11-19 16:11:21 +00:00
Peter Dimov
f6b7ff4b34
Major changes to shared_ptr and weak_ptr
...
[SVN r16314]
2002-11-18 14:37:02 +00:00
Peter Dimov
2314f20c4e
element_type added
...
[SVN r16264]
2002-11-15 19:44:48 +00:00
Peter Dimov
ff7410cad2
Fixed a subtle problem in counted_base::release (report and test case by Per Kristensen)
...
[SVN r16211]
2002-11-12 13:14:50 +00:00
Peter Dimov
57c0ad44f3
Changed typename to class; some libraries helpfully #define typename
...
[SVN r15970]
2002-10-23 13:55:18 +00:00
Peter Dimov
f2f616a95c
BOOST_SP_USE_STD_ALLOCATOR support
...
[SVN r15807]
2002-10-08 16:37:33 +00:00
Peter Dimov
4ea6decc7d
scoped_ptr::reset changed to copy+swap (problem reported by Thomas Witt)
...
[SVN r15239]
2002-09-09 17:44:33 +00:00
Peter Dimov
f79b8cb7ae
Tabs removed.
...
[SVN r15175]
2002-09-06 12:50:02 +00:00
Peter Dimov
b916445dd8
weak_ptr documentation updates; get() declared deprecated.
...
[SVN r15111]
2002-08-29 15:18:04 +00:00
Douglas Gregor
c02fee7013
*_ptr.hpp:
...
- Revert addition of is_pointerlike_helper
weak_ptr.hpp:
- Revert addition of get_pointer
[SVN r15108]
2002-08-29 13:49:05 +00:00
Douglas Gregor
e77889679f
intrusive_ptr.hpp:
...
scoped_ptr.hpp:
- include <boost/type_traits/ice.hpp>
[SVN r15104]
2002-08-27 13:33:22 +00:00
Douglas Gregor
b9dceb2340
*_ptr.hpp:
...
- Added detail::is_pointerlike_helper function templates for Signals
weak_ptr.hpp:
- Added get_pointer function template for weak_ptr
[SVN r15099]
2002-08-26 15:27:23 +00:00
John Maddock
e84eb3f1ba
Added #pragma's to fix codeguard errors.
...
[SVN r14984]
2002-08-20 11:08:11 +00:00
Peter Dimov
bd4f575567
HPUX 10.20 patch (problem reported by Tom Matelich)
...
[SVN r14943]
2002-08-17 13:33:41 +00:00
Peter Dimov
8436c4d271
#pragma option -pc around use_count_is_zero added for Borland 5.5.1, to enable compilation with -ps set.
...
[SVN r14927]
2002-08-16 15:55:19 +00:00
Peter Dimov
a09c2e556f
BOOST_NO_EXCEPTIONS support added.
...
[SVN r14835]
2002-08-14 12:27:22 +00:00
Peter Dimov
5328674c2d
Minor scoped_* fix (px -> ptr) (Thanks to Bertolt Mildner)
...
[SVN r14619]
2002-07-26 14:18:21 +00:00
Peter Dimov
927fe73093
Changed #ifdefs so that member templates aren't disabled by an empty config.hpp.
...
[SVN r14589]
2002-07-24 15:36:25 +00:00
Peter Dimov
f586d3f83e
shared_ptr<void const> support added.
...
[SVN r14570]
2002-07-23 12:33:11 +00:00
Peter Dimov
3f0ebd4c71
'shared_from_this' added.
...
[SVN r14561]
2002-07-22 16:36:52 +00:00
Peter Dimov
33077bda71
Win64 patch (Tim Fenders)
...
[SVN r14537]
2002-07-19 20:06:35 +00:00
Peter Dimov
547888d507
Consistent 'bool' conversions; scoped_ptr(auto_ptr); get_pointer(scoped_ptr) added.
...
[SVN r14496]
2002-07-17 15:15:39 +00:00
Peter Dimov
dca9628be3
Disabled some Borland warnings (David B. Held)
...
[SVN r14368]
2002-07-09 12:06:46 +00:00
Peter Dimov
d84fa738ef
Sleep(0) changed to Sleep(1) to (hopefully) avoid livelocks.
...
[SVN r14226]
2002-06-22 15:55:01 +00:00
Peter Dimov
a322dc54dc
Platform-specific spinlocks disabled by default unless BOOST_LWM_USE_SPINLOCK is defined.
...
[SVN r14213]
2002-06-20 15:16:03 +00:00
Peter Dimov
951c2b7e83
counted_base is now smaller
...
[SVN r14212]
2002-06-20 14:56:10 +00:00
Peter Dimov
23f68a5657
Added libstdc++ v3 specific lightweight_mutex and atomic_count (contributed by Lars Gullik Bjønnes)
...
[SVN r13999]
2002-05-21 16:48:20 +00:00
Peter Dimov
4653c3673b
shared_ptr now autodetects counted_bases; minor test updates; intrusive_ptr no longer calls addref/release for NULL pointers.
...
[SVN r13602]
2002-05-01 11:22:22 +00:00
Peter Dimov
11eacab70e
Made shared_ptr::share_ptr(Y * p) a member template.
...
[SVN r13551]
2002-04-23 14:56:42 +00:00
Peter Dimov
110c0021e2
counted_base default constructor added
...
[SVN r13542]
2002-04-22 18:01:19 +00:00
Peter Dimov
4c5e355a0b
Bugfixes.
...
[SVN r13541]
2002-04-22 09:37:08 +00:00
Peter Dimov
fbc9028313
intrusive_ptr.hpp added (still experimental)
...
[SVN r13526]
2002-04-19 19:34:16 +00:00
Peter Dimov
513752eee5
Worked around an MSVC 6 bug (Markus Schoepflin)
...
[SVN r13430]
2002-04-10 14:12:12 +00:00
Peter Dimov
b89945d36a
Added winapi.hpp and a CRITICAL_SECTION lightweight_mutex variant.
...
[SVN r13211]
2002-03-15 22:00:10 +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
Peter Dimov
aa98e2b37e
Added lwm_irix.hpp (contributed by Dan Gohman)
...
[SVN r12955]
2002-02-27 16:35:15 +00:00
Peter Dimov
e6605637f8
BOOST_LWM_WIN32_USE_CRITICAL_SECTION option.
...
[SVN r12842]
2002-02-16 18:45:20 +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
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
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