Searched refs:SmartPointerBase (Results 1 – 1 of 1) sorted by relevance
14 class SmartPointerBase {17 SmartPointerBase() : p_(NULL) {} in SmartPointerBase() function20 explicit SmartPointerBase(T* ptr) : p_(ptr) {} in SmartPointerBase() function24 SmartPointerBase(const SmartPointerBase<Deallocator, T>& rhs) : p_(rhs.p_) { in SmartPointerBase() function25 const_cast<SmartPointerBase<Deallocator, T>&>(rhs).p_ = NULL; in SmartPointerBase()63 SmartPointerBase<Deallocator, T>& operator=(64 const SmartPointerBase<Deallocator, T>& rhs) {67 const_cast<SmartPointerBase<Deallocator, T>&>(rhs).p_ = NULL;78 ~SmartPointerBase() { in ~SmartPointerBase()96 class SmartArrayPointer : public SmartPointerBase<ArrayDeallocator<T>, T> {[all …]