12345678910111213141516171819202122232425262728293031 |
- #ifndef BOOST_SERIALIZATION_BOOST_ARRAY_HPP
- #define BOOST_SERIALIZATION_BOOST_ARRAY_HPP
- #include <boost/config.hpp>
- #if defined(BOOST_NO_STDC_NAMESPACE)
- namespace std{
- using ::size_t;
- }
- #endif
- #include <boost/serialization/nvp.hpp>
- #include <boost/array.hpp>
- namespace boost { namespace serialization {
- template <class Archive, class T, std::size_t N>
- void serialize(Archive& ar, boost::array<T,N>& a, const unsigned int /* version */)
- {
- ar & boost::serialization::make_nvp("elems", a.elems);
- }
- } }
- #endif
|