$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Matthias Troyer (troyer_at_[hidden])
Date: 2005-10-09 13:04:50
On Oct 9, 2005, at 7:36 PM, Robert Ramey wrote:
>
> I believe:
>
> a) that by using derivation similar to demo_fast_archive you can
> achieve
> all the goals you desire without modification of the library itself.
> b) that this approach will result in smallest amount of additional
> coding
> effort.
> c) that the result will be applicable to current and future archives
> without
> any other coding changes.
Sorry, but I still do not see how this can avoid an MxN problem,
since for each of M archive class I will need to overload the
serialization of N classes. Maybe I am just not seeing a trick that
you have in mind, but I would think that I
- need to overload the serialization for all N classes (array,
vector, valarray, .....) for the demo_fast_archive.
- again overload the serialization for all N classes for the fast
portable binary archive
- again overload the serialization for all N classes for the MPI archive
- again overload the serialization for all N classes for the
polymorphic archives
and so on...
Can you tell me what I'm missing here?
Matthias