]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/boost/serialization/boost_array.hpp
import new upstream nautilus stable release 14.2.8
[ceph.git] / ceph / src / boost / boost / serialization / boost_array.hpp
CommitLineData
92f5a8d4
TL
1#ifndef BOOST_SERIALIZATION_BOOST_ARRAY_HPP
2#define BOOST_SERIALIZATION_BOOST_ARRAY_HPP
b32b8144
FG
3
4// (C) Copyright 2005 Matthias Troyer and Dave Abrahams
5// Use, modification and distribution is subject to the Boost Software
6// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
7// http://www.boost.org/LICENSE_1_0.txt)
8
9//#include <iostream>
10
11#include <boost/config.hpp> // msvc 6.0 needs this for warning suppression
12
13#if defined(BOOST_NO_STDC_NAMESPACE)
14namespace std{
15 using ::size_t;
16} // namespace std
17#endif
18
19#include <boost/serialization/nvp.hpp>
20#include <boost/array.hpp>
21
22namespace boost { namespace serialization {
23// implement serialization for boost::array
24template <class Archive, class T, std::size_t N>
25void serialize(Archive& ar, boost::array<T,N>& a, const unsigned int /* version */)
26{
27 ar & boost::serialization::make_nvp("elems", a.elems);
28}
29
30} } // end namespace boost::serialization
31
32
92f5a8d4 33#endif //BOOST_SERIALIZATION_BOOST_ARRAY_HPP