Home | History | Annotate | Download | only in tinyutils

Lines Matching refs:sp

22 inline bool operator _op_ (const sp<T>& o) const {              \
29 inline bool operator _op_ (const sp<U>& o) const { \
40 class sp
43 inline sp() : m_ptr(0) { }
45 sp(T* other);
46 sp(const sp<T>& other);
47 template<typename U> sp(U* other);
48 template<typename U> sp(const sp<U>& other);
50 ~sp();
54 sp& operator = (T* other);
55 sp& operator = (const sp<T>& other);
57 template<typename U> sp& operator = (const sp<U>& other);
58 template<typename U> sp& operator = (U* other);
79 template<typename Y> friend class sp;
88 sp<T>::sp(T* other)
95 sp<T>::sp(const sp<T>& other)
102 sp<T>::sp(U* other) : m_ptr(other)
108 sp<T>::sp(const sp<U>& other)
115 sp<T>::~sp()
121 sp<T>& sp<T>::operator = (const sp<T>& other) {
129 sp<T>& sp<T>::operator = (T* other)
138 sp<T>& sp<T>::operator = (const sp<U>& other)
147 sp<T>& sp<T>::operator = (U* other)
156 void sp<T>::clear()