4 #include "blub/serialization/access.hpp"
5 #include "blub/serialization/nameValuePair.hpp"
6 #include "blub/serialization/saveLoad.hpp"
10 #include <boost/serialization/array.hpp>
17 template <
class T, std::
size_t N>
18 class array :
public std::array<T, N>
21 typedef std::array<T, N> t_base;
25 BLUB_SERIALIZATION_ACCESS
27 template <
class formatType>
28 void serialize(formatType & readWrite,
const uint32& version)
32 boost::serialization::array<T> toSerialize(t_base::data(), t_base::size());
33 readWrite & serialization::nameValuePair::create(
"elems", toSerialize);
41 #endif // BLUB_ARRAY_HPP
Definition: deadlineTimer.hpp:10