pair.hpp 244 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#ifndef THALLIUM_PAIR_SERIALIZE_H
#define THALLIUM_PAIR_SERIALIZE_H

#include <utility>

namespace thallium {

template<typename A, typename T1, typename T2>
void serialize(A& a, std::pair<T1,T2>& p) {
	a & p.first;
	a & p.second;
}

}

#endif