annotate DEPENDENCIES/generic/include/boost/ptr_container/serialize_ptr_map.hpp @ 133:4acb5d8d80b6 tip

Don't fail environmental check if README.md exists (but .txt and no-suffix don't)
author Chris Cannam
date Tue, 30 Jul 2019 12:25:44 +0100
parents 2665513ce2d3
children
rev   line source
Chris@16 1 // Copyright Sebastian Ramacher, 2007.
Chris@16 2 // Distributed under the Boost Software License, Version 1.0. (See
Chris@16 3 // accompanying file LICENSE_1_0.txt or copy at
Chris@16 4 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 5
Chris@16 6 #ifndef BOOST_PTR_CONTAINER_SERIALIZE_PTR_MAP_HPP
Chris@16 7 #define BOOST_PTR_CONTAINER_SERIALIZE_PTR_MAP_HPP
Chris@16 8
Chris@16 9 #include <boost/ptr_container/detail/serialize_ptr_map_adapter.hpp>
Chris@16 10 #include <boost/ptr_container/ptr_map.hpp>
Chris@16 11
Chris@16 12 namespace boost
Chris@16 13 {
Chris@16 14
Chris@16 15 namespace serialization
Chris@16 16 {
Chris@16 17
Chris@16 18 template<class Archive, class Key, class T, class Compare, class CloneAllocator, class Allocator>
Chris@16 19 void serialize(Archive& ar, ptr_map<Key, T, Compare, CloneAllocator, Allocator>& c, const unsigned int version)
Chris@16 20 {
Chris@16 21 split_free(ar, c, version);
Chris@16 22 }
Chris@16 23
Chris@16 24 template<class Archive, class Key, class T, class Compare, class CloneAllocator, class Allocator>
Chris@16 25 void serialize(Archive& ar, ptr_multimap<Key, T, Compare, CloneAllocator, Allocator>& c, const unsigned int version)
Chris@16 26 {
Chris@16 27 split_free(ar, c, version);
Chris@16 28 }
Chris@16 29
Chris@16 30 } // namespace serialization
Chris@16 31 } // namespace boost
Chris@16 32
Chris@16 33 #endif