Lines Matching defs:operator

49         RefPtr& operator=(RefPtr&&);
66 T& operator*() const { return *m_ptr; }
67 ALWAYS_INLINE T* operator->() const { return m_ptr; }
69 bool operator!() const { return !m_ptr; }
71 // This conversion operator allows implicit conversion to bool but not to other integer types.
73 operator UnspecifiedBoolType() const { return m_ptr ? &RefPtr::m_ptr : 0; }
75 RefPtr& operator=(const RefPtr&);
76 RefPtr& operator=(T*);
77 RefPtr& operator=(const PassRefPtr<T>&);
78 RefPtr& operator=(std::nullptr_t) { clear(); return *this; }
80 template<typename U> RefPtr<T>& operator=(const RefPtr<U>&);
81 template<typename U> RefPtr<T>& operator=(const PassRefPtr<U>&);
82 template<typename U> RefPtr<T>& operator=(const RawPtr<U>&);
104 template<typename T> inline RefPtr<T>& RefPtr<T>::operator=(const RefPtr& o)
112 template<typename T> inline RefPtr<T>& RefPtr<T>::operator=(RefPtr&& o)
122 template<typename T> template<typename U> inline RefPtr<T>& RefPtr<T>::operator=(const RefPtr<U>& o)
129 template<typename T> inline RefPtr<T>& RefPtr<T>::operator=(T* optr)
136 template<typename T> inline RefPtr<T>& RefPtr<T>::operator=(const PassRefPtr<T>& o)
143 template<typename T> template<typename U> inline RefPtr<T>& RefPtr<T>::operator=(const PassRefPtr<U>& o)
150 template<typename T> template<typename U> inline RefPtr<T>& RefPtr<T>::operator=(const RawPtr<U>& o)
167 template<typename T, typename U> inline bool operator==(const RefPtr<T>& a, const RefPtr<U>& b)
172 template<typename T, typename U> inline bool operator==(const RefPtr<T>& a, U* b)
177 template<typename T, typename U> inline bool operator==(T* a, const RefPtr<U>& b)
182 template<typename T, typename U> inline bool operator!=(const RefPtr<T>& a, const RefPtr<U>& b)
187 template<typename T, typename U> inline bool operator!=(const RefPtr<T>& a, U* b)
192 template<typename T, typename U> inline bool operator!=(T* a, const RefPtr<U>& b)
214 ALWAYS_INLINE operator T*() const { return m_ptr; }