Boost logo

Boost Users :

Subject: [Boost-users] [Serialization] Zero-sized arrays
From: Roland Kaminski (kaminski_at_[hidden])
Date: 2009-08-03 12:51:21


Hi,
i am planning to use the boost serialization library to implement
checkpointing for an ASP/Sat solver. Unfortunately, the solver implements one
(very special) optimization that makes use of a zero-sized array at the end
of a class.
I have found no way to store something like this using the library. There is a
small program in the attachment that contains data structures similar to the
ones used in the solver code. This would need a mechanism to control the
allocation of memory during deserialization. Do you see any possibility do
serialize something like this?

Regards and thanks,
Roland




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