Boost C++ Libraries: Ticket #13453: add serialize/ deserialize functionality https://svn.boost.org/trac10/ticket/13453 <p> also added here: <a class="ext-link" href="https://github.com/boostorg/accumulators/issues/13"><span class="icon">​</span>https://github.com/boostorg/accumulators/issues/13</a> (not sure if github issues are reviewed) </p> <p> This was also discussed here: <a class="ext-link" href="https://stackoverflow.com/questions/32289719/how-to-serialize-boostaccumulatorsaccumulator-set"><span class="icon">​</span>https://stackoverflow.com/questions/32289719/how-to-serialize-boostaccumulatorsaccumulator-set</a> </p> <p> The ability to store the internal state of an object, as well as to initialize it with state is would be very useful, as this would eliminate the need to store the actual data point. Currently the different classes cannot be extended by inheritance, since their internal state is private. Anyway, since serialization and deserialization does not have any size/speed impact on the class, it is probably better to add this to the class and not to inherited version of it. Probably good to use the boost serialization library, to assure that the output is portable (serialize on one machine and deserialize on another). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13453 Trac 1.4.3