
1 Nov
2007
1 Nov
'07
1:42 p.m.
I am experimenting with Boost.Serialization. I tried to de-serialize a (binary) file written for a *different* class. Obviously, this can not work. However, there is not thrown an exception. Question: (How) can I determine that the reading failed? (In case of corrupted or non-matching archives.) (I have attached a small demo.) Best regards Christoph