22 Jan
2016
22 Jan
'16
5:55 p.m.
On 01/22/2016 05:54 PM, Robert Ramey wrote:
On 1/22/16 2:40 AM, Bjorn Reese wrote:
I presume we're talking about C++ intrinsic array rather than std::array.
Yes.
My current workaround is to add an overload for arrays to my custom archive, i.e.
template
void save_override(const T (&data)[N]); What is the problem with using this or some similar overload?
Well, since I have found a workaround there is no problem per se. My concern is more that Boost.Serialization imposes a serialization sequence that is invalid for certain encoding formats. This means that we have to by-pass Boost.Serialization for the serialization of arrays.