From: Robert Ramey (ramey_at_[hidden])
Date: 2005-10-15 15:33:57
Matthias Troyer wrote:
> For a portable binary archive this solution is perfect. For fast
> array serialization a similar approach has problems, as I outlined
> under point 3 and 4 in my response to Robert Ramey: you need to
> specifically overload _in the archive_ for all classes that want to
> make use of fast array serialization, thus introducing a tight
> coupling between archive and class to be serialized, as well as
> making it hard to extend.
Here is where were on different pages. you only have to override
serialization of vector etc in only one place - in the fast_archive_adaptor
Then the behavior is available to any class that the adaptor is applied to.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk