Code:
namespace boost
{
namespace serialization
{
template<class Archive, class Key, class Mapped, class Hash, class Pred, class Alloc >
inline void save(Archive & ar, const boost::unordered_multimap<Key, Mapped, Hash, Pred, Alloc> &t, const unsigned int)
{
boost::serialization::stl::save_collection<Archive, boost::unordered_multimap<Key, Mapped, Hash, Pred, Alloc> >(ar, t);
}
template<class Archive, class Key, class Mapped, class Hash, class Pred, class Alloc >
inline void load(Archive & ar, boost::unordered_multimap<Key, Mapped, Hash, Pred, Alloc> &t, const unsigned int)
{
boost::serialization::stl::load_collection<Archive, boost::unordered_multimap<Key, Mapped, Hash, Pred, Alloc>,
boost::serialization::stl::archive_input_multimap<Archive, boost::unordered_multimap<Key, Mapped, Hash, Pred, Alloc> >,
boost::serialization::stl::no_reserve_imp< boost::unordered_multimap<Key, Mapped, Hash, Pred, Alloc> > >(ar, t);
}
// split non-intrusive serialization function member into separate
// non intrusive save/load member functions
template<class Archive, class Key, class Mapped, class Hash, class Pred, class Alloc >
inline void serialize(Archive & ar, boost::unordered_multimap<Key, Mapped, Hash, Pred, Alloc> &t, const unsigned int file_version)
{
boost::serialization::split_free(ar, t, file_version);
}
}
}