reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
143 IntrusiveRefCntPtr(const IntrusiveRefCntPtr &S) : Obj(S.Obj) { retain(); } 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } 144 IntrusiveRefCntPtr(IntrusiveRefCntPtr &&S) : Obj(S.Obj) { S.Obj = nullptr; } 148 S.Obj = nullptr; 163 T &operator*() const { return *Obj; } 164 T *operator->() const { return Obj; } 165 T *get() const { return Obj; } 166 explicit operator bool() const { return Obj; } 169 T *tmp = other.Obj; 170 other.Obj = Obj; 170 other.Obj = Obj; 171 Obj = tmp; 176 Obj = nullptr; 179 void resetWithoutRelease() { Obj = nullptr; } 183 if (Obj) 184 IntrusiveRefCntPtrInfo<T>::retain(Obj); 188 if (Obj) 189 IntrusiveRefCntPtrInfo<T>::release(Obj);