Searched defs:SmartArrayPointer (Results 1 - 1 of 1) sorted by relevance
/external/v8/src/ | ||
H A D | smart-array-pointer.h | 38 class SmartArrayPointer { class in namespace:v8::internal 41 inline SmartArrayPointer() : p_(NULL) {} function in class:v8::internal::SmartArrayPointer 44 explicit inline SmartArrayPointer(T* ptr) : p_(ptr) {} function in class:v8::internal::SmartArrayPointer 48 inline SmartArrayPointer(const SmartArrayPointer<T>& rhs) : p_(rhs.p_) { function in class:v8::internal::SmartArrayPointer 49 const_cast<SmartArrayPointer<T>&>(rhs).p_ = NULL; 55 inline ~SmartArrayPointer() { if (p_) DeleteArray(p_); } 69 // returning an SmartArrayPointer<T> and then get errors wherever it is used. 81 // Assignment requires an empty (NULL) SmartArrayPointer as the receiver. Like 84 inline SmartArrayPointer [all...] |
Completed in 72 milliseconds