1 Feb
2006
1 Feb
'06
5:09 p.m.
Even better - I've tweaked the destructor on basic_oarchive_primitive to append an std::endl to the stream. So this problem will no longer appear. Note that problem only came up with text archives. Other oarchives never read beyonnd the last data serialized. So on 1.34 the problem is solved once and for all. And all archives classes will be consistent in their behavior in this regard. Robert Ramey Seweryn Habdank-Wojewódzki wrote:
Hello
To sum up our work with boost::serialization. Maybe useful would be to add comment to the serialization documentation that std::endl and std::eof could finalize serialization procedure.
IHMO it is not clear there (in documentation).
Best regards.
\/\/| Seweryn Habdank-Wojewódzki `\/\/ =