Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:50:36

0001 //
0002 // Boost.Pointer Container
0003 //
0004 //  Copyright Thorsten Ottosen 2008. Use, modification and
0005 //  distribution is subject to the Boost Software License, Version
0006 //  1.0. (See accompanying file LICENSE_1_0.txt or copy at
0007 //  http://www.boost.org/LICENSE_1_0.txt)
0008 //
0009 // For more information, see http://www.boost.org/libs/ptr_container/
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 } // namespace serialization
0037 } // namespace boost
0038 
0039 #endif