Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-06-27 16:57:07

Look at how the serialization test suite works.


Robert Ramey

Daryle Walker wrote:
> Do I just serialize to a memory buffer, then serialize from the same
> buffer, and then compare the source and destination objects?

that's mostly what we do.

> I use a text format (plain and/or XML) with a string-stream source/
> sink so I can check by reading? Should I make up a string of a text
> archive and have my routine try reading it?

That would be more work.

Robert Ramey

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at