Lines Matching defs:operator
99 ref& operator=(ref&& r) {
112 ref& operator=(const ref& r) {
126 ref& operator=(T *ptr) {
140 bool operator==(const ref &r) const { return m_ptr == r.m_ptr; }
143 bool operator!=(const ref &r) const { return m_ptr != r.m_ptr; }
146 bool operator==(const T* ptr) const { return m_ptr == ptr; }
149 bool operator!=(const T* ptr) const { return m_ptr != ptr; }
152 T* operator->() { return m_ptr; }
155 const T* operator->() const { return m_ptr; }
158 T& operator*() { return *m_ptr; }
161 const T& operator*() const { return *m_ptr; }
164 operator T* () { return m_ptr; }