3 * - By John Hodge (thePowersGang)
8 #ifndef _LIBCXX_UTILITY_
9 #define _LIBCXX_UTILITY_
13 template <class T1, class T2>
17 typedef T1 first_type;
18 typedef T2 second_type;
26 template <class U, class V>
27 pair(const pair<U,V>& pr):
32 pair(const first_type& a, const second_type& b):
37 // operator = is implicit
40 template <class T1, class T2>
41 bool operator== (const pair<T1,T2>& lhs, const pair<T1,T2>& rhs) {
42 return lhs.first == rhs.first && lhs.second == rhs.second;
44 template <class T1, class T2>
45 bool operator!= (const pair<T1,T2>& lhs, const pair<T1,T2>& rhs) {