|
Boost : |
From: Jeremy Maitin-Shepard (jbms_at_[hidden])
Date: 2007-10-08 16:14:27
I think there is a significant issue with your proposed extension
mechanism: an archive can only contain a single extension object at a
time. Consequently, if two types require different extension objects,
they cannot both be serialized using the same archive. In particular,
if say flyweight requires some special extension object, and shared_ptr
requires its own special extension object, it won't be possible to
serialize both using the same archive. It seems, therefore, that in
practice there would have to be a single standardized extension object,
which is either in use or not in use for a particular archive.
-- Jeremy Maitin-Shepard
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk