Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-01-04 16:13:24


This is contemplated through the usage of class versioning. See documentation.

Robert Ramey
  "Booster Booster" <boost.newbie_at_[hidden]> wrote in message news:a4a79aba0701041113y5bbf54bfv82d8e86f0f9cd3af_at_mail.gmail.com...
  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 mailing list
  Boost-users_at_[hidden]
  http://lists.boost.org/mailman/listinfo.cgi/boost-users



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