
8 Feb
2007
8 Feb
'07
7:50 p.m.
pwm wrote:
I am trying to use the boost serialization library to save an objects from a class heiarchy. I keep running into a stream error when deserializing a pointer from an xml archive. I have everything registered (that took a while, but I have that problem figured out, I think), and the serialization to an xml archive seems to work just fine. I have stepped through the deep nesting of calls to the exception and it is being thrown because the stream says it is bad when trying to read the end tag.
This would normally be due the asymettric serialization where one does: ar << a and later ar >> a; ar >> b; // uh-oh - read end tag - now its gone Robert Ramey