Home | History | Annotate | Download | only in wtf

Lines Matching refs:WeakPtr

84 class WeakPtr {
87 WeakPtr() { }
88 WeakPtr(std::nullptr_t) { }
89 WeakPtr(PassRefPtr<WeakReference<T> > ref) : m_ref(ref) { }
100 typedef RefPtr<WeakReference<T> > (WeakPtr::*UnspecifiedBoolType);
101 operator UnspecifiedBoolType() const { return get() ? &WeakPtr::m_ref : 0; }
107 template<typename T, typename U> inline bool operator==(const WeakPtr<T>& a, const WeakPtr<U>& b)
112 template<typename T, typename U> inline bool operator!=(const WeakPtr<T>& a, const WeakPtr<U>& b)
133 WeakPtr<T> createWeakPtr() { return WeakPtr<T>(m_ref); }
149 using WTF::WeakPtr;