Boost logo

Boost :

Subject: Re: [boost] [serialization] Custom archive and arrays
From: Robert Ramey (ramey_at_[hidden])
Date: 2016-01-22 11:54:29

On 1/22/16 2:40 AM, Bjorn Reese wrote:

I presume we're talking about C++ intrinsic array rather than std::array.

> My current workaround is to add an overload for arrays to my custom
> archive, i.e.
> template <typename T, std::size_t N>
> void save_override(const T (&data)[N]);

What is the problem with using this or some similar overload?

Robert Ramey

Boost list run by bdawes at, gregod at, cpdaniel at, john at