|
Boost : |
From: Pierre Baillargeon (pb_at_[hidden])
Date: 2002-05-22 11:16:04
Regarding Vahan proposition, I think the solution adopted by Java is
much simpler: the serialization and deserialization stream accept an
object provider object that creates object on its behalf. In the
example, the object provider would create the A object and tell the
AManager about them so it can delete them in case of failure.
I won't suggest implementation ideas here since the design must
integrate well with the serialization framework and I do not know the
detail of the boost version.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk