// helper function templates for serialization of hashed collections
#include <boost/config.hpp>
-#include <boost/archive/detail/basic_iarchive.hpp>
#include <boost/serialization/nvp.hpp>
#include <boost/serialization/collection_size_type.hpp>
#include <boost/serialization/item_version_type.hpp>
+#include <boost/serialization/library_version_type.hpp>
namespace boost{
namespace serialization {
collection_size_type count;
collection_size_type bucket_count;
boost::serialization::item_version_type item_version(0);
- boost::archive::library_version_type library_version(
+ boost::serialization::library_version_type library_version(
ar.get_library_version()
);
// retrieve number of elements
- if(boost::archive::library_version_type(6) != library_version){
+ if(boost::serialization::library_version_type(6) != library_version){
ar >> BOOST_SERIALIZATION_NVP(count);
ar >> BOOST_SERIALIZATION_NVP(bucket_count);
}
ar >> BOOST_SERIALIZATION_NVP(bc);
bucket_count = bc;
}
- if(boost::archive::library_version_type(3) < library_version){
+ if(boost::serialization::library_version_type(3) < library_version){
ar >> BOOST_SERIALIZATION_NVP(item_version);
}
s.clear();