Home
last modified time | relevance | path

Searched refs:SmartPointerBase (Results 1 – 1 of 1) sorted by relevance

/external/v8/src/
Dsmart-pointers.h13 class SmartPointerBase {
16 SmartPointerBase() : p_(NULL) {} in SmartPointerBase() function
19 explicit SmartPointerBase(T* ptr) : p_(ptr) {} in SmartPointerBase() function
23 SmartPointerBase(const SmartPointerBase<Deallocator, T>& rhs) in SmartPointerBase() function
25 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 …]