Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2004-11-10 09:49:46


martin.ecker_at_[hidden] wrote:
> Peter Dimov wrote:
>>> In general, I propose adding some sort of user data mechanism to
>>> archives.
>>
>> What do you suggest along those lines?
>
> We have found it necessary to associate user data with archives in
> certain circumstances. In our case, I have simply added a boost::any
> as member data to every archive (by introducing a base class for all
> archives, since currently input and output archives do not have a
> common base class).

This isn't good enough for me... sorry. I don't want to force archives to
inherit from a common base class, and a single boost::any doesn't seem
enough. What if you need to serialize two classes, each requiring a
registry?


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