Boost logo

Boost :

From: Dirk Gerrits (dirk_at_[hidden])
Date: 2002-11-14 04:57:19


IIRC the old persistance library defined facilities for input and output
using the RFC-1014 XDR: External Data Representation Standard. The new
serialization library doesn't seem to include such archive classes and
leaves it up to the user to write these.

Now I don't mean to dispute the decision, but I'd just like to know what
the rationale for it was.

Secondly, I have a nit about the documentation. In the reference section
about the 'Definition of New Archive Formats' it is said that:
'The archive format is specified by implementing the virtual functions
of the base class.'

I think it would be clearer if the documentation also stated all those
virtual functions that one should implement, so that the user wouldn't
have to read archive.hpp. Perhaps a simple example should be provided.
Say, a rot13 text stream or something.

Regards,
Dirk Gerrits


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