1 #ifndef EXTENDED_PAIR_H
2 #define EXTENDED_PAIR_H
3
4 template <typename T1, typename A1, typename T2, typename A2>
5 struct extended_pair {
6 typedef T1 first_type;
7 typedef T2 second_type;
8
9 extended_pair(A1 f, A2 s) : first(f), second(s) {}
10
11 T1 first;
12 T2 second;
13 };
14
15 #endif