Boost logo

Boost :

From: Jarrad Waterloo (jwaterloo_at_[hidden])
Date: 2007-10-09 15:09:27


I am sorry. I know this is unrelated to archive but what ever happened to
flyweight.

-----Original Message-----
From: boost-bounces_at_[hidden] [mailto:boost-bounces_at_[hidden]]
On Behalf Of Jeremy Maitin-Shepard
Sent: Monday, October 08, 2007 4:14 PM
To: boost_at_[hidden]
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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk