Lines Matching refs:T
21 template <class T>
26 AutoPtr(T *other);
28 AutoPtr(const AutoPtr<T> &other);
30 AutoPtr(AutoPtr<T> &&other);
34 AutoPtr &operator=(T *other);
36 AutoPtr &operator=(const AutoPtr<T> &other);
38 AutoPtr &operator=(AutoPtr<T> &&other);
40 void MoveTo(T **other);
42 inline operator T *() const;
44 inline T **operator&();
46 inline T *operator->() const;
48 inline T &operator*() const;
50 inline T *Get() const;
52 inline bool operator==(T *other) const;
54 inline bool operator==(const AutoPtr<T> &other) const;
56 inline bool operator!=(T *other) const;
58 inline bool operator!=(const AutoPtr<T> &other) const;
60 inline bool operator>(T *other) const;
62 inline bool operator>(const AutoPtr<T> &other) const;
64 inline bool operator<(T *other) const;
66 inline bool operator<(const AutoPtr<T> &other) const;
68 inline bool operator<=(T *other) const;
70 inline bool operator<=(const AutoPtr<T> &other) const;
72 inline bool operator>=(T *other) const;
74 inline bool operator>=(const AutoPtr<T> &other) const;
77 T *mPtr;
80 template <class T>
81 AutoPtr<T>::AutoPtr(T *other) : mPtr(other) in AutoPtr()
88 template <class T>
89 AutoPtr<T>::AutoPtr(const AutoPtr<T> &other) : mPtr(other.mPtr) in AutoPtr()
96 template <class T>
97 AutoPtr<T>::AutoPtr(AutoPtr<T> &&other) : mPtr(other.mPtr) in AutoPtr()
102 template <class T>
103 AutoPtr<T>::~AutoPtr() in ~AutoPtr()
110 template <class T>
111 AutoPtr<T> &AutoPtr<T>::operator=(T *other)
126 template <class T>
127 AutoPtr<T> &AutoPtr<T>::operator=(const AutoPtr<T> &other)
142 template <class T>
143 AutoPtr<T> &AutoPtr<T>::operator=(AutoPtr<T> &&other)
153 template <class T>
154 void AutoPtr<T>::MoveTo(T **other) in MoveTo()
162 template <class T>
163 AutoPtr<T>::operator T *() const
168 template <class T>
169 T **AutoPtr<T>::operator&()
174 template <class T>
175 T *AutoPtr<T>::operator->() const
180 template <class T>
181 T &AutoPtr<T>::operator*() const
186 template <class T>
187 T *AutoPtr<T>::Get() const in Get()
192 template <class T>
193 bool AutoPtr<T>::operator==(T *other) const
198 template <class T>
199 bool AutoPtr<T>::operator==(const AutoPtr<T> &other) const
204 template <class T>
205 bool AutoPtr<T>::operator!=(T *other) const
210 template <class T>
211 bool AutoPtr<T>::operator!=(const AutoPtr<T> &other) const
216 template <class T>
217 bool AutoPtr<T>::operator>(T *other) const
222 template <class T>
223 bool AutoPtr<T>::operator>(const AutoPtr<T> &other) const
228 template <class T>
229 bool AutoPtr<T>::operator<(T *other) const
234 template <class T>
235 bool AutoPtr<T>::operator<(const AutoPtr<T> &other) const
240 template <class T>
241 bool AutoPtr<T>::operator<=(T *other) const
246 template <class T>
247 bool AutoPtr<T>::operator<=(const AutoPtr<T> &other) const
252 template <class T>
253 bool AutoPtr<T>::operator>=(T *other) const
258 template <class T>
259 bool AutoPtr<T>::operator>=(const AutoPtr<T> &other) const