Template Class IntrusivePtr¶
Defined in File intrusive_ptr.h
Class Documentation¶
-
template<class
T
>
classIntrusivePtr
¶ Public Types
-
typedef T
element_type
¶
Public Functions
-
IntrusivePtr
()¶
-
IntrusivePtr
(T *p)¶
-
template<class
Y
>IntrusivePtr
(const IntrusivePtr<Y> &rhs)¶
-
IntrusivePtr
(const IntrusivePtr &rhs)¶
-
~IntrusivePtr
()¶
-
IntrusivePtr
(IntrusivePtr &&rhs)¶
-
size_t
useCount
()¶
-
IntrusivePtr &
operator=
(IntrusivePtr &&rhs)¶
-
IntrusivePtr &
operator=
(const IntrusivePtr &rhs)¶
-
void
reset
()¶
-
void
reset
(T *rhs)¶
-
T *
get
() const¶
-
T *
detach
()¶
-
T &
operator*
() const¶
-
T *
operator->
() const¶
-
operator bool
() const¶
-
bool
operator!
() const¶
-
void
swap
(IntrusivePtr &rhs)¶
-
typedef T