Searched refs:SmartPointerBase (Results 1 – 1 of 1) sorted by relevance
13 class SmartPointerBase {16 SmartPointerBase() : p_(NULL) {} in SmartPointerBase() function19 explicit SmartPointerBase(T* ptr) : p_(ptr) {} in SmartPointerBase() function23 SmartPointerBase(const SmartPointerBase<Deallocator, T>& rhs) in SmartPointerBase() function25 const_cast<SmartPointerBase<Deallocator, T>&>(rhs).p_ = NULL; in SmartPointerBase()67 SmartPointerBase<Deallocator, T>& operator=(68 const SmartPointerBase<Deallocator, T>& rhs) {71 const_cast<SmartPointerBase<Deallocator, T>&>(rhs).p_ = NULL;82 ~SmartPointerBase() { if (p_) Deallocator::Delete(p_); } in ~SmartPointerBase()100 class SmartArrayPointer: public SmartPointerBase<ArrayDeallocator<T>, T> {[all …]