Peter Dimov
18974ea2db
Add cast tests to intrusive_ptr_test
2019-04-20 18:54:13 +03:00
Peter Dimov
1725e26f70
Add assignment tests to intrusive_ptr_test
2019-04-20 18:02:11 +03:00
Peter Dimov
4de3f36839
Add add_ref parameter to intrusive_ptr::reset, add tests for reset.
2013-12-26 18:47:05 +02:00
Peter Dimov
4e46cb0609
Add one more intrusive_ptr test case.
2013-12-26 18:05:52 +02:00
Avi Kivity
73153d5797
Add intrusive_ptr<>::detach()
...
This provides a way to escape from automatic reference counting, and taking
manual control of the reference. Useful when interfacing to a C API that
expects a pointer with an elevated reference count.
Similar to std::unique_ptr<>::release().
2013-12-26 17:47:28 +02:00
Peter Dimov
bfc0225cda
Switched to atomic_count
...
[SVN r27811]
2005-03-24 21:55:24 +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
93d69af60a
_MSC_VER use clarified.
...
[SVN r20992]
2003-11-28 15:35:21 +00:00
Peter Dimov
abb0d9e725
Moved smart_ptr contents to subdirectories, switched to a local test/Jamfile.
...
[SVN r17042]
2003-01-25 16:17:17 +00:00