Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Generic / Pair / Pair.hpp
blob: 023813089132b3d48985ce34159c7dfc034722b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef PAIR
#define PAIR

template <typename T, typename U>
struct Pair {
	T left;
	U right;

	Pair();
	Pair(const T& left, const U& right);
};

template <typename T, typename U>
Pair<T, U>::Pair() : left(), right() {}


template <typename T, typename U>
Pair<T, U>::Pair(const T& left, const U& right) : left(left), right(right) {}

#endif