Lines Matching refs:ptr_
302 explicit scoped_ptr(T* p = NULL) : ptr_(p) {}305 T& operator*() const { return *ptr_; }306 T* operator->() const { return ptr_; }307 T* get() const { return ptr_; }310 T* const ptr = ptr_;311 ptr_ = NULL;316 if (p != ptr_) {318 delete ptr_;320 ptr_ = p;324 T* ptr_;