Peter Dimov
bc677e9098
Do not require boost::hash in the std::hash specializations
2020-06-03 17:38:03 +03:00
Peter Dimov
5a18ffdc56
Add std::hash specializations for shared_ptr, local_shared_ptr, intrusive_ptr
2020-06-02 05:59:23 +03:00
Glen Fernandes
43d1fe12c5
Include lightweight_test from core and workaround from config
2020-01-01 08:31:25 -05:00
Peter Dimov
8120bb44cb
Add rvalue pointer casts ( closes #66 )
2019-04-21 00:47:36 +03:00
Peter Dimov
1cae5c5696
Fix documentation links in headers
2017-06-17 00:13:21 +03:00
Peter Dimov
52d976fde2
Use BOOST_SP_NOEXCEPT, BOOST_SP_NOEXCEPT_WITH_ASSERT
2017-06-12 18:06:54 +03:00
Peter Dimov
3e61a63f60
Use throw() in place of noexcept on msvc-11.0,12.0 for the standard nothrow traits
2016-11-08 18:42:51 +02:00
Peter Dimov
e52905cf3c
Add intrusive_ptr converting move assignment.
2016-05-17 18:43:41 +03:00
Peter Dimov
a7ade6f062
Remove unnecessary #ifdef
2016-05-17 18:34:18 +03:00
Peter Dimov
097d2e9bf9
Merge branch 'intrusive_ptr_move' of https://github.com/jtwang83/smart_ptr into develop
2016-05-17 18:29:29 +03:00
Andrey Semashev
970a179ac2
Make the default constructor constexpr
2015-10-05 18:24:52 +03:00
Jonathan Wang
334654de06
intrusive_ptr: add converting ctor for intrusive_ptr<U> with move semantics. Analagous to
...
template <class U> intrusive_ptr(intrusive_ptr<U> const&)
2015-03-15 20:17:55 -04:00
Peter Dimov
4de3f36839
Add add_ref parameter to intrusive_ptr::reset, add tests for reset.
2013-12-26 18:47:05 +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
a4f853bfbc
Revert "SmartPtr: Remove obsolete MSVC version checks."
...
This reverts commit 7d1c527ac0
.
2013-12-07 19:25:05 +02:00
Peter Dimov
182452e057
Revert "Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro."
...
This reverts commit 14be9eb90f
.
2013-12-07 19:21:31 +02:00
Peter Dimov
5f69684c8f
Revert "SmartPointer: Remove obsolete GCC version checks."
...
This reverts commit 0e6ddb843e
.
2013-12-07 19:21:06 +02:00
Stephen Kelly
0e6ddb843e
SmartPointer: Remove obsolete GCC version checks.
...
[SVN r86063]
2013-09-30 15:57:14 +00:00
Stephen Kelly
14be9eb90f
Remove use of obsolete BOOST_NO_TEMPLATED_STREAMS macro.
...
It was only defined for no-longer-supported-gcc.
[SVN r86062]
2013-09-30 15:56:52 +00:00
Stephen Kelly
7d1c527ac0
SmartPtr: Remove obsolete MSVC version checks.
...
[SVN r85929]
2013-09-26 09:39:50 +00:00
Peter Dimov
ef817e91d2
Replace std::nullptr_t with boost::detail::sp_nullptr_t.
...
[SVN r82351]
2013-01-04 15:41:13 +00:00
Peter Dimov
647f67aabf
Replace use of BOOST_HAS_RVALUE_REFS with !BOOST_NO_CXX11_RVALUE_REFERENCES.
...
[SVN r81900]
2012-12-13 16:48:57 +00:00
Peter Dimov
8093967da7
Use explicit operator bool when available; add nullptr support to shared_ptr. Refs #4116 .
...
[SVN r81780]
2012-12-08 00:51:59 +00:00
Peter Dimov
cf769b94a7
Apply BOOST_NOEXCEPT patch. Refs #7523 .
...
[SVN r81368]
2012-11-16 15:05:25 +00:00
Peter Dimov
e4cb5e131f
Add hash_value for intrusive_ptr. Refs #6087 .
...
[SVN r75392]
2011-11-07 18:46:46 +00:00
Peter Dimov
53d5d086ea
Warning 4284 is obsolete. Refs #4433 .
...
[SVN r69245]
2011-02-24 20:48:17 +00:00
Peter Dimov
ae34be773f
Qualify detail:: references. Detabify sp_typeinfo_test.cpp.
...
[SVN r58306]
2009-12-11 22:36:35 +00:00
Peter Dimov
b691be0af9
Remove std::move references. Refs #3570 .
...
[SVN r57957]
2009-11-26 21:20:47 +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
a378c8c278
Refs #2814 (fixed in trunk.)
...
[SVN r51518]
2009-03-01 18:42:44 +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