]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/ptr_container/include/boost/ptr_container/serialize_ptr_list.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / ptr_container / include / boost / ptr_container / serialize_ptr_list.hpp
CommitLineData
7c673cae
FG
1// Copyright Sebastian Ramacher, 2007.
2// Distributed under the Boost Software License, Version 1.0. (See
3// accompanying file LICENSE_1_0.txt or copy at
4// http://www.boost.org/LICENSE_1_0.txt)
5
6#ifndef BOOST_PTR_CONTAINER_SERIALIZE_PTR_LIST_HPP
7#define BOOST_PTR_CONTAINER_SERIALIZE_PTR_LIST_HPP
8
9#include <boost/ptr_container/detail/serialize_reversible_cont.hpp>
10#include <boost/ptr_container/ptr_list.hpp>
11
12namespace boost
13{
14
15namespace serialization
16{
17
18template<class Archive, class T, class CloneAllocator, class Allocator>
19void serialize(Archive& ar, ptr_list<T, CloneAllocator, Allocator>& c, const unsigned int version)
20{
21 split_free(ar, c, version);
22}
23
24} // namespace serialization
25} // namespace boost
26
27#endif