Boost logo

Boost Users :

From: Christoph (christoph.duelli_at_[hidden])
Date: 2007-11-01 09:42:20


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






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