Frank Mori Hess
32eb028e13
Renamed enable_shared_from_this2 to enable_shared_from_raw and
...
added shared_from_raw free function. These changes fix the pointer
value in shared_ptr which were obtained before an external shared_ptr has
taken ownership of the object (for example when a shared_ptr to
this is obtained in an object's constructor).
[SVN r57197]
2009-10-28 19:10:47 +00:00
Troy D. Straszheim
e824e23ec2
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
f5cc79f58d
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Timothy Zachary Laine
fc12543814
Merged in smart_ptr changes from the sandbox/boost0x branch created for
...
BoostCon '09. This adds move semantics to weak_ptr and intrusive_ptr.
[SVN r52937]
2009-05-12 16:18:15 +00:00
Peter Dimov
4b4a62513f
Make ++a, where a is an atomic_count, return the new value.
...
[SVN r52456]
2009-04-17 20:24:01 +00:00
Peter Dimov
0368a37fde
Bring back "explicit" on the auto_ptr rvalue constructor. Refs #2951 .
...
[SVN r52454]
2009-04-17 19:51:18 +00:00
Peter Dimov
d34d638998
Bring back the constructor-enabled enable_shared_from_this as enable_shared_from_this2.
...
[SVN r51912]
2009-03-22 21:11:17 +00:00
Peter Dimov
dc3ffc5f4b
Attempt to fix como link failure.
...
[SVN r51686]
2009-03-10 18:07:13 +00:00
Peter Dimov
0610947c4a
De-optimize assignment into this_type(r).swap(*this) - turns out that they were not equivalent, leading to leaks in contrived cases. Refs #2813 .
...
[SVN r51643]
2009-03-07 22:21:56 +00:00
Peter Dimov
9c55fbc6c2
Fix enable_shared_from_this-related tickets in trunk. Refs #2126 . Refs #2584 .
...
[SVN r51581]
2009-03-03 19:25:26 +00:00
Peter Dimov
68c939ec5a
Fix #includes in spinlock_test.cpp, spinlock_try_test.cpp, yield_k_test.cpp.
...
[SVN r51519]
2009-03-01 18:54:51 +00:00
Peter Dimov
0da6902267
Move smart_ptr into boost/smart_ptr/*.hpp (refs #2239 ).
...
[SVN r51509]
2009-03-01 16:00:42 +00:00
Peter Dimov
10f6ff8b77
Sync smart_ptr/test/Jamfile.v2 with release.
...
[SVN r51486]
2009-02-28 21:08:25 +00:00
Michael A. Jackson
c40b306647
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
d9b9921d23
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Peter Dimov
8c7954a53a
Untabify.
...
[SVN r47736]
2008-07-23 20:04:52 +00:00
Peter Dimov
77ab953171
Updated atomic access syntax to match N2674 and the WD.
...
[SVN r47357]
2008-07-12 16:07:20 +00:00
Ion Gaztañaga
d261079616
Replaced non-ascii characters, ticket 1736
...
[SVN r45225]
2008-05-08 19:22:16 +00:00
Peter Dimov
4b0490c0ae
Fix sp_convertible_test.cpp failure in C++0x mode.
...
[SVN r45194]
2008-05-07 10:15:16 +00:00
Peter Dimov
f0f9f72be6
sp_atomic_mt2_test.cpp added.
...
[SVN r45094]
2008-05-03 22:47:35 +00:00
Peter Dimov
83c43617af
Fixes for MSVC 6.0.
...
[SVN r45085]
2008-05-03 19:29:01 +00:00
Peter Dimov
0c4aaef77c
Fix #1106 .
...
[SVN r45068]
2008-05-03 15:07:58 +00:00
Peter Dimov
18a6c1add8
make_shared added; tweaks for old compilers; fixes #1884 .
...
[SVN r44979]
2008-05-01 16:50:39 +00:00
Anthony Williams
4bb747fb27
reverted accidental change
...
[SVN r44839]
2008-04-28 09:04:40 +00:00
Anthony Williams
f13591ef2b
Added detail::try_lock_wrapper for use as scoped_try_lock typedefs, to fix issue #1873
...
[SVN r44838]
2008-04-28 09:00:58 +00:00
Peter Dimov
7dc6b3d810
Added a few more tests.
...
[SVN r44775]
2008-04-26 13:39:52 +00:00
Peter Dimov
7802c695ef
sp_atomic_mt_test.cpp added.
...
[SVN r44640]
2008-04-20 17:00:58 +00:00
Peter Dimov
71fa2cd658
Factored out boost/detail/lightweight_thread.hpp.
...
[SVN r44638]
2008-04-20 15:37:08 +00:00
Peter Dimov
04be979670
Atomic access added.
...
[SVN r44636]
2008-04-20 14:59:12 +00:00
Peter Dimov
4094c23537
sp_accept_owner added.
...
[SVN r44353]
2008-04-12 18:22:18 +00:00
Peter Dimov
748b1baee8
detail/spinlock_pool.hpp added.
...
[SVN r44074]
2008-04-06 16:53:11 +00:00
Peter Dimov
4880292c07
Add MT runs of yield_k_test and spinlock_try_test.
...
[SVN r44073]
2008-04-06 16:23:42 +00:00
Peter Dimov
acb6824ef7
spinlock_nt.hpp added, Cygwin fixes.
...
[SVN r44055]
2008-04-05 15:06:31 +00:00
Peter Dimov
6ef32e1627
boost::detail::spinlock added.
...
[SVN r43950]
2008-03-30 16:33:58 +00:00
Peter Dimov
bb076d67e6
detail::yield(k) added.
...
[SVN r43888]
2008-03-27 22:20:11 +00:00
Peter Dimov
dc6a8f0696
_internal_accept_owner now checks if _owned isn't already true.
...
[SVN r43856]
2008-03-25 15:46:40 +00:00
Peter Dimov
af7d4fabad
New enable_shared_from_this tests, fix.
...
[SVN r43829]
2008-03-24 16:00:28 +00:00
Frank Mori Hess
d7448b5746
Added a little more test code for new enable_shared_from_this behavior.
...
[SVN r43804]
2008-03-23 14:51:40 +00:00
Frank Mori Hess
f22516d650
Fixed bogus test failure caused by new enable_shared_from_this features.
...
[SVN r43782]
2008-03-21 21:12:21 +00:00
Frank Mori Hess
1c2d780f9e
Added support for calling enable_shared_from_this::shared_from_this in
...
constructors. Closes #1696 .
[SVN r43738]
2008-03-20 19:32:43 +00:00
Peter Dimov
2eb3991630
Regression test for enable_shared_from_this.
...
[SVN r43733]
2008-03-19 19:39:50 +00:00
Peter Dimov
a055d9829e
Fixes #1444 .
...
[SVN r43317]
2008-02-19 14:01:13 +00:00
Peter Dimov
f596092bac
Fixes #1590 .
...
[SVN r43316]
2008-02-19 13:18:58 +00:00
Vladimir Prus
6646d8acd2
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +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
4ba37fce95
Negative test for conversion to void*
...
[SVN r37756]
2007-05-23 23:22:45 +00:00
Peter Dimov
4d45e5b9b5
Move tests added
...
[SVN r37526]
2007-04-28 15:49:13 +00:00
Peter Dimov
745dbedbaa
Fix CW regression re strcmp, strcpy
...
[SVN r37407]
2007-04-09 22:24:37 +00:00
Peter Dimov
ce72827dc7
Aliasing support
...
[SVN r37405]
2007-04-09 18:48:47 +00:00
Peter Dimov
469578e976
Fix C++0x ambiguity between boost::shared_ptr and std::shared_ptr
...
[SVN r37374]
2007-04-06 00:23:17 +00:00