Subject: [Boost-bugs] [Boost C++ Libraries] #13453: add serialize/ deserialize functionality
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-02-20 08:38:43
#13453: add serialize/ deserialize functionality
----------------------------------------+--------------------------
Reporter: Yuval Lifshitz <yuvalif@â¦> | Owner: Eric Niebler
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: accumulator
Version: Boost 1.67.0 | Severity: Problem
Keywords: |
----------------------------------------+--------------------------
also added here: https://github.com/boostorg/accumulators/issues/13 (not
sure if github issues are reviewed)
This was also discussed here: https://stackoverflow.com/questions/32289719
/how-to-serialize-boostaccumulatorsaccumulator-set
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).
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13453> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2018-02-20 08:43:53 UTC