
I am sorry. I know this is unrelated to archive but what ever happened to flyweight. -----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Jeremy Maitin-Shepard Sent: Monday, October 08, 2007 4:14 PM To: boost@lists.boost.org Subject: Re: [boost] [serialization] Proposal for an extension API to theArchive concept 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 _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost