Lines Matching defs:simple_ptr
17 class simple_ptr {
19 simple_ptr(T* t): _ptr(t) {}
20 ~simple_ptr() { delete _ptr; } // \
387 simple_ptr<F> f(new F());
391 simple_ptr<VB> vb(new VB());
395 simple_ptr<VB> vb(new VD());
399 simple_ptr<VD> vd(new VD());
403 simple_ptr<VF> vf(new VF());
407 simple_ptr<SystemB> sb(new SystemB());
414 simple_ptr<B> b(new B()); // expected-note {{in instantiation of member function 'dnvd::simple_ptr<dnvd::B>::~simple_ptr' requested here}}
422 simple_ptr<D> d(new D()); // expected-note {{in instantiation of member function 'dnvd::simple_ptr<dnvd::D>::~simple_ptr' requested here}}