Hi Robert, thanks for your quick reply. On Tue, Dec 12, 2006 at 09:20:49AM -0800, Robert Ramey wrote:
a) The usage of a function string serialize(...) is not incorrect, but it could be confusing to a compiler with an issue with overloading. At the very least it makes the example harder to follow and might make error messages undecipherable.
Ok, I'll fix that. Just to be sure ..
b) The following usage of string stream makes me wonder:
The order of destruction is:
return (copy? string) destroy archive - this might add closing characters to the archive destroy string stream
So I'm not certain that the string contains all the characters added to the archive.
That could make sense. I'll try it out tomorow at work and I will also test your reformulated example. Thanks again, Oscar