Lines Matching refs:p2
106 // IMPLEMENTATION NOTE: C++11 20.7.1.1.2p2 only provides this constructor
247 void swap(scoped_ptr_impl& p2) {
252 swap(static_cast<D&>(data_), static_cast<D&>(p2.data_));
253 swap(data_.ptr, p2.data_.ptr);
426 void swap(scoped_ptr& p2) {
427 impl_.swap(p2.impl_);
461 template <class U> bool operator==(scoped_ptr<U> const& p2) const;
462 template <class U> bool operator!=(scoped_ptr<U> const& p2) const;
552 void swap(scoped_ptr& p2) {
553 impl_.swap(p2.impl_);
599 template <class U> bool operator==(scoped_ptr<U> const& p2) const;
600 template <class U> bool operator!=(scoped_ptr<U> const& p2) const;
604 void swap(rtc::scoped_ptr<T, D>& p1, rtc::scoped_ptr<T, D>& p2) {
605 p1.swap(p2);
611 bool operator==(T* p1, const rtc::scoped_ptr<T, D>& p2) {
612 return p1 == p2.get();
616 bool operator!=(T* p1, const rtc::scoped_ptr<T, D>& p2) {
617 return p1 != p2.get();