File indexing completed on 2025-01-18 09:50:36
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012 #ifndef BOOST_PTR_CONTAINER_SERIALIZE_UNORDERED_PTR_MAP_HPP
0013 #define BOOST_PTR_CONTAINER_SERIALIZE_UNORDERED_PTR_MAP_HPP
0014
0015 #include <boost/ptr_container/detail/serialize_ptr_map_adapter.hpp>
0016 #include <boost/ptr_container/ptr_unordered_map.hpp>
0017
0018 namespace boost
0019 {
0020
0021 namespace serialization
0022 {
0023
0024 template<class Archive, class Key, class T, class Hash, class Pred, class CloneAllocator, class Allocator>
0025 void serialize(Archive& ar, ptr_unordered_map<Key, T, Hash, Pred, CloneAllocator, Allocator>& c, const unsigned int version)
0026 {
0027 core::split_free(ar, c, version);
0028 }
0029
0030 template<class Archive, class Key, class T, class Hash, class Pred, class CloneAllocator, class Allocator>
0031 void serialize(Archive& ar, ptr_unordered_multimap<Key, T, Hash, Pred, CloneAllocator, Allocator>& c, const unsigned int version)
0032 {
0033 core::split_free(ar, c, version);
0034 }
0035
0036 }
0037 }
0038
0039 #endif