Lines Matching refs:scoped_ptr
48 class scoped_ptr {
53 scoped_ptr(scoped_ptr const &);
54 scoped_ptr & operator=(scoped_ptr const &);
60 explicit scoped_ptr(T* p = 0): ptr(p) {} in ptr()
62 ~scoped_ptr() { in ~scoped_ptr()
98 void swap(scoped_ptr & b) { in swap()
113 template <typename U> bool operator==(scoped_ptr<U> const& p) const;
114 template <typename U> bool operator!=(scoped_ptr<U> const& p) const;
118 void swap(scoped_ptr<T>& a, scoped_ptr<T>& b) { in swap()
123 bool operator==(T* p, const scoped_ptr<T>& b) {
128 bool operator!=(T* p, const scoped_ptr<T>& b) {