Boost logo

Boost :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2003-11-17 18:26:48


On Nov 17, 2003, at 5:14 PM, Robert Ramey wrote:

> Matthias Troyer wrote:
>> * add, in addition to the serialization functions of the basic data
>> types another set of functions that serialize contiguous arrays of the
>> POD types.
>
>> * add a default implementation that just calls the serialization
>> function for each element consecutively. Then only those archives for
>> which the fast implementation are necessary and/or possible have to
>> implement the array version.
>
> The current implemenation already has this.

Sorry, I could not find it. Can you point me to some header file or
manual section?

>> * implement the serialization of C-arrays, boost::array, std::vector,
>> boost::multi_array, and the ublas data types with contiguos storage to
>> use the optimized array serialization functions when called for POD
>> types.
>
> I believe all this can be addressed by implementing specifice
> load/save_override functions in an archive for specific datatypes
> and/or
> templates. I am currently improving the implementation to make it
> easier
> to derive one's own custom archive from one of the provided ones.
> Presumably such this would be used to provide special/different
> handling for situations as you describe above. The next upload
> draft will include these improvements along with a case study
> showing how to handle cases such as the above.

I'm looking forward to it and will comment again once I can get the
next version.

Keep up your good work,

Matthias


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