fix doc example typo
[boost.git] / boost / ptr_container / serialize_ptr_map.hpp
blobee7439d1072cfa5fd2961a6b5ceaf46432e95355
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)
6 #ifndef BOOST_PTR_CONTAINER_SERIALIZE_PTR_MAP_HPP
7 #define BOOST_PTR_CONTAINER_SERIALIZE_PTR_MAP_HPP
9 #include <boost/ptr_container/detail/serialize_ptr_map_adapter.hpp>
10 #include <boost/ptr_container/ptr_map.hpp>
12 namespace boost
15 namespace serialization
18 template<class Archive, class Key, class T, class Compare, class CloneAllocator, class Allocator>
19 void serialize(Archive& ar, ptr_map<Key, T, Compare, CloneAllocator, Allocator>& c, const unsigned int version)
21 split_free(ar, c, version);
24 template<class Archive, class Key, class T, class Compare, class CloneAllocator, class Allocator>
25 void serialize(Archive& ar, ptr_multimap<Key, T, Compare, CloneAllocator, Allocator>& c, const unsigned int version)
27 split_free(ar, c, version);
30 } // namespace serialization
31 } // namespace boost
33 #endif