Lines Matching defs:operator
69 // Don't allow a default copy constructor or copy operator on
73 RefCounted &operator=(const RefCounted &);
215 T *operator->() const { return data; }
218 T &operator*() const { return *data; }
224 operator RefCountingPtr<typename std::enable_if<!B, ConstT>::type>()
230 const RefCountingPtr &operator=(T *p) { set(p); return *this; }
233 const RefCountingPtr &operator=(const RefCountingPtr &r)
234 { return operator=(r.data); }
237 const RefCountingPtr &operator=(RefCountingPtr&& r)
249 bool operator!() const { return data == 0; }
252 operator bool() const { return data != 0; }
257 inline bool operator==(const RefCountingPtr<T> &l, const RefCountingPtr<T> &r)
263 inline bool operator==(const RefCountingPtr<T> &l, const T *r)
269 inline bool operator==(const T *l, const RefCountingPtr<T> &r)
274 inline bool operator!=(const RefCountingPtr<T> &l, const RefCountingPtr<T> &r)
280 inline bool operator!=(const RefCountingPtr<T> &l, const T *r)
286 inline bool operator!=(const T *l, const RefCountingPtr<T> &r)