Start port
[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         Pair(A _a, B _b) :
11     a(_a),
12     b(_b) {
13         }
14   
15         A getFirst() {
16                 return a;
17         }
18   
19         B getSecond() {
20                 return b;
21         }
22 };
23
24 #endif