Lines Matching refs:scoped_ptr
83 class scoped_ptr {
92 explicit scoped_ptr(C* p = NULL) : ptr_(p) { } in ptr_()
96 ~scoped_ptr() { in ~scoped_ptr()
131 void swap(scoped_ptr& p2) { in swap()
154 template <class C2> bool operator==(scoped_ptr<C2> const& p2) const;
155 template <class C2> bool operator!=(scoped_ptr<C2> const& p2) const;
158 scoped_ptr(const scoped_ptr&);
159 void operator=(const scoped_ptr&);
164 void swap(scoped_ptr<C>& p1, scoped_ptr<C>& p2) { in swap()
169 bool operator==(C* p1, const scoped_ptr<C>& p2) {
174 bool operator!=(C* p1, const scoped_ptr<C>& p2) {