Lines Matching refs:AutoPtr
22 class AutoPtr {
24 inline AutoPtr() : mPtr(nullptr) {} in AutoPtr() function
26 AutoPtr(T *other);
28 AutoPtr(const AutoPtr<T> &other);
30 AutoPtr(AutoPtr<T> &&other);
32 ~AutoPtr();
34 AutoPtr &operator=(T *other);
36 AutoPtr &operator=(const AutoPtr<T> &other);
38 AutoPtr &operator=(AutoPtr<T> &&other);
54 inline bool operator==(const AutoPtr<T> &other) const;
58 inline bool operator!=(const AutoPtr<T> &other) const;
62 inline bool operator>(const AutoPtr<T> &other) const;
66 inline bool operator<(const AutoPtr<T> &other) const;
70 inline bool operator<=(const AutoPtr<T> &other) const;
74 inline bool operator>=(const AutoPtr<T> &other) const;
81 AutoPtr<T>::AutoPtr(T *other) : mPtr(other) in AutoPtr() function
89 AutoPtr<T>::AutoPtr(const AutoPtr<T> &other) : mPtr(other.mPtr) in AutoPtr() function
97 AutoPtr<T>::AutoPtr(AutoPtr<T> &&other) : mPtr(other.mPtr) in AutoPtr() function
103 AutoPtr<T>::~AutoPtr() in ~AutoPtr()
111 AutoPtr<T> &AutoPtr<T>::operator=(T *other)
127 AutoPtr<T> &AutoPtr<T>::operator=(const AutoPtr<T> &other)
143 AutoPtr<T> &AutoPtr<T>::operator=(AutoPtr<T> &&other)
154 void AutoPtr<T>::MoveTo(T **other) in MoveTo()
163 AutoPtr<T>::operator T *() const
169 T **AutoPtr<T>::operator&()
175 T *AutoPtr<T>::operator->() const
181 T &AutoPtr<T>::operator*() const
187 T *AutoPtr<T>::Get() const in Get()
193 bool AutoPtr<T>::operator==(T *other) const
199 bool AutoPtr<T>::operator==(const AutoPtr<T> &other) const
205 bool AutoPtr<T>::operator!=(T *other) const
211 bool AutoPtr<T>::operator!=(const AutoPtr<T> &other) const
217 bool AutoPtr<T>::operator>(T *other) const
223 bool AutoPtr<T>::operator>(const AutoPtr<T> &other) const
229 bool AutoPtr<T>::operator<(T *other) const
235 bool AutoPtr<T>::operator<(const AutoPtr<T> &other) const
241 bool AutoPtr<T>::operator<=(T *other) const
247 bool AutoPtr<T>::operator<=(const AutoPtr<T> &other) const
253 bool AutoPtr<T>::operator>=(T *other) const
259 bool AutoPtr<T>::operator>=(const AutoPtr<T> &other) const