Lines Matching refs:smart_ptr
11 * (e.g. boost::shared_ptr<>, tr1::shared_ptr<> and the smart_ptr<>
159 class smart_ptr
164 template <typename Q> friend class smart_ptr;
166 explicit smart_ptr()
170 explicit smart_ptr(T* const pT)
177 explicit smart_ptr(Q* const q)
183 ~smart_ptr()
188 smart_ptr(const smart_ptr<T>& sp)
195 smart_ptr(const smart_ptr<Q>& sp)
201 smart_ptr& operator=(const smart_ptr<T>& sp)
207 smart_ptr& operator=(T* const p)
214 smart_ptr& operator=(Q* const q)
272 // smart_ptr<> implementation will report that the assignment below
300 smart_ptr<counter>* pp = reinterpret_cast<smart_ptr<counter>*>(arg);
316 smart_ptr<counter> p(new counter);
319 q->Create(thread_func, new smart_ptr<counter>(p));