pair.hpp 348 Bytes
Newer Older
Matthieu Dorier's avatar
Matthieu Dorier committed
1 2 3 4 5 6 7
/*
 * (C) 2017 The University of Chicago
 * 
 * See COPYRIGHT in top-level directory.
 */
#ifndef __THALLIUM_PAIR_SERIALIZE_HPP
#define __THALLIUM_PAIR_SERIALIZE_HPP
8 9 10 11 12 13 14

#include <utility>

namespace thallium {

template<typename A, typename T1, typename T2>
void serialize(A& a, std::pair<T1,T2>& p) {
15 16
    a & p.first;
    a & p.second;
17 18 19 20 21
}

}

#endif