]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/ptr_container/include/boost/ptr_container/serialize_ptr_unordered_set.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / ptr_container / include / boost / ptr_container / serialize_ptr_unordered_set.hpp
1 //
2 // Boost.Pointer Container
3 //
4 // Copyright Thorsten Ottosen 2008. Use, modification and
5 // distribution is subject to the Boost Software License, Version
6 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8 //
9 // For more information, see http://www.boost.org/libs/ptr_container/
10 //
11
12 #ifndef BOOST_PTR_CONTAINER_SERIALIZE_PTR_UNORDERED_SET_HPP
13 #define BOOST_PTR_CONTAINER_SERIALIZE_PTR_UNORDERED_SET_HPP
14
15 #include <boost/ptr_container/detail/serialize_reversible_cont.hpp>
16 #include <boost/ptr_container/ptr_unordered_set.hpp>
17
18 namespace boost
19 {
20
21 namespace serialization
22 {
23
24 template<class Archive, class T, class Hash, class Pred, class CloneAllocator, class Allocator>
25 void serialize(Archive& ar, ptr_unordered_set<T, Hash, Pred, CloneAllocator, Allocator>& c, const unsigned int version)
26 {
27 split_free(ar, c, version);
28 }
29
30 template<class Archive, class T, class Hash, class Pred, class CloneAllocator, class Allocator>
31 void serialize(Archive& ar, ptr_unordered_multiset<T, Hash, Pred, CloneAllocator, Allocator>& c, const unsigned int version)
32 {
33 split_free(ar, c, version);
34 }
35
36 } // namespace serialization
37 } // namespace boost
38
39 #endif