|
Boost : |
From: Robert Ramey (ramey_at_[hidden])
Date: 2019-07-23 22:20:16
On 7/23/19 2:19 PM, Robert Ramey via Boost wrote:
> On 7/21/19 1:24 PM, Janek Kozicki via Boost wrote:
>> Hi, this simple program will not compile. The only way to make it
>> work is to make a public default constructor. This defeats the purpose
>> of boost::serialization::access.
>
> please open up an issue in the serialization libary at github so we
> don't lose track of it.
>
> Robert Ramey
>
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Speaking from memory, I think the purpose of serialization::access is
to provide accesses to the serialization functions rather then all the
functions. Also if memory serves me, this issue has come up before and
we went through some efforts to address it but in the end couldn't make
it work. You might want to check the history of the serialization of
optional in git hub
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk