In-Reply-To: <[EMAIL PROTECTED]> On Mon, 13 Jan 2003 23:04:35 +0100 Ares Lagae ([EMAIL PROTECTED]) wrote: > > 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost