File indexing completed on 2025-01-30 09:58:32
0001
0002
0003
0004
0005
0006 #ifndef BOOST_PTR_CONTAINER_SERIALIZE_PTR_MAP_HPP
0007 #define BOOST_PTR_CONTAINER_SERIALIZE_PTR_MAP_HPP
0008
0009 #include <boost/ptr_container/detail/serialize_ptr_map_adapter.hpp>
0010 #include <boost/ptr_container/ptr_map.hpp>
0011
0012 namespace boost
0013 {
0014
0015 namespace serialization
0016 {
0017
0018 template<class Archive, class Key, class T, class Compare, class CloneAllocator, class Allocator>
0019 void serialize(Archive& ar, ptr_map<Key, T, Compare, CloneAllocator, Allocator>& c, const unsigned int version)
0020 {
0021 core::split_free(ar, c, version);
0022 }
0023
0024 template<class Archive, class Key, class T, class Compare, class CloneAllocator, class Allocator>
0025 void serialize(Archive& ar, ptr_multimap<Key, T, Compare, CloneAllocator, Allocator>& c, const unsigned int version)
0026 {
0027 core::split_free(ar, c, version);
0028 }
0029
0030 }
0031 }
0032
0033 #endif