// Copyright (c) 2011-2015 The Cryptonote developers // Distributed under the MIT/X11 software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. #pragma once #include "serialization.h" namespace serialization { namespace detail { template bool serialize_vector_element(Archive& ar, T& e) { return ::do_serialize(ar, e); } template bool serialize_vector_element(Archive& ar, uint32_t& e) { ar.serialize_varint(e); return true; } template bool serialize_vector_element(Archive& ar, uint64_t& e) { ar.serialize_varint(e); return true; } } } template