Lines Matching refs:smart_ptr
159 class smart_ptr class
164 template <typename Q> friend class smart_ptr;
166 explicit smart_ptr() in smart_ptr() function in smart_ptr
170 explicit smart_ptr(T* const pT) in smart_ptr() function in smart_ptr
177 explicit smart_ptr(Q* const q) in smart_ptr() function in smart_ptr
183 ~smart_ptr() in ~smart_ptr()
188 smart_ptr(const smart_ptr<T>& sp) in smart_ptr() function in smart_ptr
195 smart_ptr(const smart_ptr<Q>& sp) in smart_ptr() function in smart_ptr
201 smart_ptr& operator=(const smart_ptr<T>& sp) in operator =()
207 smart_ptr& operator=(T* const p) in operator =()
214 smart_ptr& operator=(Q* const q) in operator =()
300 smart_ptr<counter>* pp = reinterpret_cast<smart_ptr<counter>*>(arg); in thread_func()
316 smart_ptr<counter> p(new counter); in main()
319 q->Create(thread_func, new smart_ptr<counter>(p)); in main()