edits
[iotcloud.git] / version2 / src / C / Pair.h
1 #ifndef PAIR_H
2 #define PAIR_H
3
4 template<typename A, typename B>
5 class Pair {
6 private:
7         A a;
8         B b;
9
10 public:
11         Pair(A _a, B _b) :
12                 a(_a),
13                 b(_b) {
14         }
15
16         A getFirst() {
17                 return a;
18         }
19
20         B getSecond() {
21                 return b;
22         }
23 };
24
25 #endif