• Home
  • Raw
  • Download

Lines Matching refs:T

39 inline bool operator _op_ (const sp<T>& o) const {              \
42 inline bool operator _op_ (const T* o) const { \
163 template <class T>
173 delete static_cast<const T*>(this); in decStrong()
181 typedef LightRefBase<T> basetype;
197 template <typename T>
205 wp(T* other);
206 wp(const wp<T>& other);
207 wp(const sp<T>& other);
216 wp& operator = (T* other);
217 wp& operator = (const wp<T>& other);
218 wp& operator = (const sp<T>& other);
224 void set_object_and_refs(T* other, weakref_type* refs);
228 sp<T> promote() const;
238 inline T* unsafe_get() const { return m_ptr; } in unsafe_get()
249 inline bool operator == (const wp<T>& o) const {
257 inline bool operator > (const wp<T>& o) const {
265 inline bool operator < (const wp<T>& o) const {
272 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
274 inline bool operator <= (const wp<T>& o) const { return !operator > (o); }
276 inline bool operator >= (const wp<T>& o) const { return !operator < (o); }
283 T* m_ptr;
287 template <typename T>
288 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
295 template<typename T>
296 wp<T>::wp(T* other) in wp()
302 template<typename T>
303 wp<T>::wp(const wp<T>& other) in wp()
309 template<typename T>
310 wp<T>::wp(const sp<T>& other) in wp()
318 template<typename T> template<typename U>
319 wp<T>::wp(U* other) in wp()
325 template<typename T> template<typename U>
326 wp<T>::wp(const wp<U>& other) in wp()
335 template<typename T> template<typename U>
336 wp<T>::wp(const sp<U>& other) in wp()
344 template<typename T>
345 wp<T>::~wp() in ~wp()
350 template<typename T>
351 wp<T>& wp<T>::operator = (T* other)
361 template<typename T>
362 wp<T>& wp<T>::operator = (const wp<T>& other)
365 T* otherPtr(other.m_ptr);
373 template<typename T>
374 wp<T>& wp<T>::operator = (const sp<T>& other)
378 T* otherPtr(other.m_ptr);
385 template<typename T> template<typename U>
386 wp<T>& wp<T>::operator = (U* other)
396 template<typename T> template<typename U>
397 wp<T>& wp<T>::operator = (const wp<U>& other)
408 template<typename T> template<typename U>
409 wp<T>& wp<T>::operator = (const sp<U>& other)
420 template<typename T>
421 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs()
429 template<typename T>
430 sp<T> wp<T>::promote() const in promote()
432 sp<T> result; in promote()
439 template<typename T>
440 void wp<T>::clear() in clear()
448 template <typename T>
449 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)