Boost logo

Boost Users :

From: Booster Booster (boost.newbie_at_[hidden])
Date: 2007-01-04 14:13:20


Hey,

  I have a class with a few data members that is serializable. Note that, I
already have an archive ( test.txt ). Now, I want to serialize a couple more
members. I went ahead and added the new members to my serialize functions.
When I read from the archive ( test.txt ) , I get an exception. This is
understandable, because the archive doesn't have the new members that I'm
trying to read out.

  My question is, is there a way to check for the existence of a member
before deserializing an object from the archive ?

Thanks in advance,
Sandeep.



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