memory¶
#include <hpx/memory/intrusive_ptr.hpp>
¶
-
namespace
hpx
-
namespace
memory
¶ Functions
-
template<typename
T
, typenameU
>
booloperator==
(intrusive_ptr<T> const &a, intrusive_ptr<U> const &b)¶
-
template<typename
T
>
classintrusive_ptr
¶ Public Types
-
template<>
usingelement_type
= T¶
Public Functions
-
intrusive_ptr
()¶
-
intrusive_ptr
(T *p, bool add_ref = true)¶
-
template<typename
U
, typenameEnable
= typename std::enable_if<memory::detail::sp_convertible<U, T>::value>::type>intrusive_ptr
(intrusive_ptr<U> const &rhs)¶
-
intrusive_ptr
(intrusive_ptr const &rhs)¶
-
~intrusive_ptr
()¶
-
intrusive_ptr
(intrusive_ptr &&rhs)¶
-
intrusive_ptr &
operator=
(intrusive_ptr &&rhs)¶
-
template<typename
U
, typenameEnable
= typename std::enable_if<memory::detail::sp_convertible<U, T>::value>::type>intrusive_ptr
(intrusive_ptr<U> &&rhs)¶
-
intrusive_ptr &
operator=
(intrusive_ptr const &rhs)¶
-
intrusive_ptr &
operator=
(T *rhs)¶
-
void
reset
()¶
-
void
reset
(T *rhs)¶
-
void
reset
(T *rhs, bool add_ref)¶
-
T *
get
() const¶
-
T *
detach
()¶
-
T &
operator*
() const¶
-
T *
operator->
() const¶
-
operator bool
() const¶
-
void
swap
(intrusive_ptr &rhs)¶
Private Types
-
template<>
usingthis_type
= intrusive_ptr¶
Private Members
-
T *
px
¶
Friends
-
friend
hpx::memory::intrusive_ptr
-
template<>
-
template<typename
-
namespace
#include <hpx/memory/serialization/intrusive_ptr.hpp>
¶
-
namespace
hpx
-
namespace
serialization
Functions
-
template<typename
T
>
voidload
(input_archive &ar, hpx::intrusive_ptr<T> &ptr, unsigned)¶
-
template<typename
T
>
voidsave
(output_archive &ar, hpx::intrusive_ptr<T> const &ptr, unsigned)¶
-
hpx::serialization::HPX_SERIALIZATION_SPLIT_FREE_TEMPLATE((template< typename T >), ( hpx::intrusive_ptr < T >))
-
template<typename
-
namespace