Lines Matching defs:reset
17 // foo.reset(new Foo("wee")); // Now a pointer is managed.
18 // foo.reset(new Foo("wee2")); // Foo("wee") was destroyed.
19 // foo.reset(new Foo("wee3")); // Foo("wee2") was destroyed.
24 // foo.reset(new Foo("wee4")); // foo manages a pointer again.
25 // foo.reset(); // Foo("wee4") destroyed, foo no longer
78 // Reset. Deletes the current owned object, if any.
80 // this->reset(this->get()) works.
81 void reset(C* p = NULL) {
183 // Reset. Deletes the current owned object, if any.
185 // this->reset(this->get()) works.
186 void reset(C* p = NULL) {
291 // Reset. Calls the Free functor on the current owned object, if any.
293 // this->reset(this->get()) works.
294 void reset(C* p = NULL) {