Lines Matching refs:p2
31 inline pair& operator= (const pair<T1, T2>& p2) { first = p2.first; second = p2.second; return (*this); }
33 inline pair& operator= (const pair<T3, T4>& p2) { first = p2.first; second = p2.second; return (*this); }
39 /// Compares both values of \p p1 to those of \p p2.
41 inline bool operator== (const pair<T1,T2>& p1, const pair<T1,T2>& p2)
43 return (p1.first == p2.first && p1.second == p2.second);
46 /// Compares both values of \p p1 to those of \p p2.
48 bool operator< (const pair<T1,T2>& p1, const pair<T1,T2>& p2)
50 return (p1.first < p2.first || (p1.first == p2.first && p1.second < p2.second));