From: Dave Harris (brangdon_at_[hidden])
Date: 2003-01-14 16:56:39
On Mon, 13 Jan 2003 23:04:35 +0100 Ares Lagae
> > How do you see archive versioning being done? For example,
> > suppose field TOTAL is a double in version 1 and a
> fixed-point user-defined type in version 2.
> The easy way would be to let a class have multiple class descriptors
> (one for each version) and add the version number to the archive.
That sounds rather coarse granularity. A class which evolved a lot would
have quite a few descriptors.
Another approach would be to publish the changed field under a different
name, say TOTAL and TOTAL_2, in effect embedding version numbers into the
field names rather than the descriptor.
-- Dave Harris
Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk