Boost Users :
From: Robert Ramey (ramey_at_[hidden])
Date: 2008-06-27 16:57:07
Look at how the serialization test suite works.
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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net