Home | History | Annotate | Download | only in utils

Lines Matching defs: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);
403 wp<T>::wp(T* other)
410 wp<T>::wp(const wp<T>& other)
417 wp<T>::wp(const sp<T>& other)
426 wp<T>::wp(U* other)
433 wp<T>::wp(const wp<U>& other)
443 wp<T>::wp(const sp<U>& other)
452 wp<T>::~wp()
458 wp<T>& wp<T>::operator = (T* other)
469 wp<T>& wp<T>::operator = (const wp<T>& other)
481 wp<T>& wp<T>::operator = (const sp<T>& other)
493 wp<T>& wp<T>::operator = (U* other)
504 wp<T>& wp<T>::operator = (const wp<U>& other)
516 wp<T>& wp<T>::operator = (const sp<U>& other)
528 void wp<T>::set_object_and_refs(T* other, weakref_type* refs)
537 sp<T> wp<T>::promote() const
543 void wp<T>::clear()
552 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)
554 to << "wp<>(" << val.unsafe_get() << ")";