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

/external/webkit/Source/JavaScriptCore/wtf/
H A DOwnPtr.h31 // Remove this once we make all WebKit code compatible with stricter rules about OwnPtr.
36 // Unlike most of our smart pointers, OwnPtr can take either the pointer type or the pointed-to type.
41 template<typename T> class OwnPtr { class in namespace:WTF
46 OwnPtr() : m_ptr(0) { } function in class:WTF::OwnPtr
49 template<typename U> OwnPtr(const PassOwnPtr<U>& o);
53 // OwnPtr<T> object. It should never be called explicitly and gcc
55 OwnPtr(const OwnPtr<ValueType>&);
57 ~OwnPtr() { deleteOwnedPtr(m_ptr); }
71 typedef PtrType OwnPtr
81 explicit OwnPtr(PtrType ptr) : m_ptr(ptr) { } function in class:WTF::OwnPtr
89 template<typename T> template<typename U> inline OwnPtr<T>::OwnPtr(const PassOwnPtr<U>& o) function in class:WTF::OwnPtr
[all...]

Completed in 124 milliseconds