Searched defs:auto_ptr (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dumemory.h24 /// \class auto_ptr umemory.h ustl.h
34 class auto_ptr { class in namespace:ustl
41 inline explicit auto_ptr (pointer p = NULL) : m_p (p) {} function in class:ustl::auto_ptr
43 inline auto_ptr (auto_ptr<T>& p) : m_p (p.release()) {} function in class:ustl::auto_ptr
45 inline ~auto_ptr (void) { delete m_p; }
53 inline auto_ptr<T>& operator= (pointer p) { reset (p); return (*this); }
55 inline auto_ptr<T>& operator= (auto_ptr<T>& p) { reset (p.release()); return (*this); }
59 inline bool operator== (const auto_ptr<
[all...]

Completed in 302 milliseconds