COIN-OR::LEMON - Graph Library

source: lemon-0.x/src/work/deba/extended_pair.h @ 702:4207f82a1778

Last change on this file since 702:4207f82a1778 was 702:4207f82a1778, checked in by Balazs Dezso, 20 years ago
File size: 276 bytes
Line 
1#ifndef EXTENDED_PAIR_H
2#define EXTENDED_PAIR_H
3
4template <typename T1, typename A1, typename T2, typename A2>
5struct 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
Note: See TracBrowser for help on using the repository browser.