Searched refs:CMyAutoPtr (Results 1 – 1 of 1) sorted by relevance
6 template<class T> class CMyAutoPtr10 CMyAutoPtr(T *p = 0) : _p(p) {} in _p()11 CMyAutoPtr(CMyAutoPtr<T>& p): _p(p.release()) {} in CMyAutoPtr() function12 CMyAutoPtr<T>& operator=(CMyAutoPtr<T>& p)17 ~CMyAutoPtr() { delete _p; } in ~CMyAutoPtr()