Boost logo

Boost Users :

Subject: Re: [Boost-users] [Serialization] This compiles; but does it work?
From: Merrill Cornish (merrill.cornish_at_[hidden])
Date: 2016-02-19 11:38:51


On 2/19/2016 4:02 AM, Bjorn Reese wrote:
> it is better to split serialization into load and save
In your example, my three lines were replaced with ~20. Is 20 really
better?

My approach wouldn't work in all cases, since some have significantly
different processing for load vs. save. But in this case, simply adding
two extra lines to the original serialization function for all data
members in a class is attractive--if it works.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net