Searched refs:SmartPointer (Results 1 – 2 of 2) sorted by relevance
23 class SmartPointer { class26 SmartPointer(void *x) : X(x) {} in SmartPointer() function in SmartPointer27 ~SmartPointer() { in ~SmartPointer()35 SmartPointer Deleter(mem); in testSmartPointer()46 SmartPointer Deleter(mem); in testSmartPointer2()55 class Subclass : public SmartPointer {57 Subclass(void *x) : SmartPointer(x) {} in Subclass()72 class MultipleInheritance : public Subclass, public SmartPointer {74 MultipleInheritance(void *a, void *b) : Subclass(a), SmartPointer(b) {} in MultipleInheritance()112 SmartPointer P;
275 class SmartPointer {278 SmartPointer(id x) : x(x) {}279 ~SmartPointer() { [x release]; }291 SmartPointer foo(x);296 SmartPointer foo(0);304 SmartPointer foo(0);310 SmartPointer *foo = new SmartPointer(x);