~ubuntu-branches/debian/sid/boost1.49/sid

« back to all changes in this revision

Viewing changes to boost/ptr_container/serialize_ptr_set.hpp

  • Committer: Package Import Robot
  • Author(s): Steve M. Robbins
  • Date: 2012-02-26 00:31:44 UTC
  • Revision ID: package-import@ubuntu.com-20120226003144-eaytp12cbf6ubpms
Tags: upstream-1.49.0
ImportĀ upstreamĀ versionĀ 1.49.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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_SET_HPP
 
7
#define BOOST_PTR_CONTAINER_SERIALIZE_PTR_SET_HPP
 
8
 
 
9
#include <boost/ptr_container/detail/serialize_reversible_cont.hpp>
 
10
#include <boost/ptr_container/ptr_set.hpp>
 
11
 
 
12
namespace boost 
 
13
{
 
14
 
 
15
namespace serialization 
 
16
{
 
17
 
 
18
template<class Archive, class T, class CloneAllocator, class Allocator>
 
19
void serialize(Archive& ar, ptr_set<T, CloneAllocator, Allocator>& c, const unsigned int version)
 
20
{
 
21
   split_free(ar, c, version);
 
22
}
 
23
 
 
24
template<class Archive, class T, class CloneAllocator, class Allocator>
 
25
void serialize(Archive& ar, ptr_multiset<T, CloneAllocator, Allocator>& c, const unsigned int version)
 
26
{
 
27
   split_free(ar, c, version);
 
28
}
 
29
 
 
30
} // namespace serialization
 
31
} // namespace boost
 
32
 
 
33
#endif