Home | History | Annotate | Download | only in utils

Lines Matching refs:wp

30 template<typename T> class wp;
38 inline bool operator _op_ (const wp<T>& o) const { \
49 inline bool operator _op_ (const wp<U>& o) const { \
220 template<typename Y> friend class wp;
222 // Optimization for wp::promote().
234 class wp
239 inline wp() : m_ptr(0) { }
241 wp(T* other);
242 wp(const wp<T>& other);
243 wp(const sp<T>& other);
244 template<typename U> wp(U* other);
245 template<typename U> wp(const sp<U>& other);
246 template<typename U> wp(const wp<U>& other);
248 ~wp();
252 wp& operator = (T* other);
253 wp& operator = (const wp<T>& other);
254 wp& operator = (const sp<T>& other);
256 template<typename U> wp& operator = (U* other);
257 template<typename U> wp& operator = (const wp<U>& other);
258 template<typename U> wp& operator = (const sp<U>& other);
287 template<typename Y> friend class wp;
294 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
401 wp<T>::wp(T* other)
408 wp<T>::wp(const wp<T>& other)
415 wp<T>::wp(const sp<T>& other)
424 wp<T>::wp(U* other)
431 wp<T>::wp(const wp<U>& other)
441 wp<T>::wp(const sp<U>& other)
450 wp<T>::~wp()
456 wp<T>& wp<T>::operator = (T* other)
467 wp<T>& wp<T>::operator = (const wp<T>& other)
477 wp<T>& wp<T>::operator = (const sp<T>& other)
488 wp<T>& wp<T>::operator = (U* other)
499 wp<T>& wp<T>::operator = (const wp<U>& other)
509 wp<T>& wp<T>::operator = (const sp<U>& other)
520 void wp<T>::set_object_and_refs(T* other, weakref_type* refs)
529 sp<T> wp<T>::promote() const
535 void wp<T>::clear()
544 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)
546 to << "wp<>(" << val.unsafe_get() << ")";