Boost logo

Boost Users :

Subject: Re: [Boost-users] binary serialization, what's missing
From: Robert Ramey (ramey_at_[hidden])
Date: 2009-11-25 11:35:55


They are designed to be interchangable. Are you sure that the binary stream is
opened with "ios::binary"?

Robert Ramey
  "Avi Bahra" <avibahra_at_[hidden]> wrote in message news:af1b101f0911250543y7b150b13uf02f7739117f56ab_at_mail.gmail.com...

  I have a complex tree structure. When this is serialized with text archive all is well. (i.e on linux/gcc)
  However when I attempt to use the binary archive, it crashes when trying to serialize a base pointer ?
  I though that text and binary were interchangeable, have I missed something or is
  serialization via base pointer not implemented in binary ?

    Any help appreciated.

    Best regards,
  Ta,
     Avi

------------------------------------------------------------------------------

  _______________________________________________
  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