author | deba |
Wed, 14 Jul 2004 21:16:10 +0000 | |
changeset 702 | 4207f82a1778 |
child 703 | 32f280a5ed7d |
permissions | -rw-r--r-- |
deba@702 | 1 |
#ifndef EXTENDED_PAIR_H |
deba@702 | 2 |
#define EXTENDED_PAIR_H |
deba@702 | 3 |
|
deba@702 | 4 |
template <typename T1, typename A1, typename T2, typename A2> |
deba@702 | 5 |
struct extended_pair { |
deba@702 | 6 |
typedef T1 first_type; |
deba@702 | 7 |
typedef T2 second_type; |
deba@702 | 8 |
|
deba@702 | 9 |
extended_pair(A1 f, A2 s) : first(f), second(s) {} |
deba@702 | 10 |
|
deba@702 | 11 |
T1 first; |
deba@702 | 12 |
T2 second; |
deba@702 | 13 |
}; |
deba@702 | 14 |
|
deba@702 | 15 |
#endif |