Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-07-28 11:13:34


Cheok Yan Cheng wrote:
> By refering to message
>
> http://groups.google.com/group/boost-list/browse_frm/thread/79dba906901d039f/38ac71e4da0c1b3d?lnk=gst&q=serialization+const+pointer&rnum=7#38ac71e4da0c1b3d
>
> I am also facing similar problem. I need to iterate through the
> content of map, and remove the constantness before deserialization.
> Due to this, I need to save the map size into disk as well.

Hmmm - I think the map size is already saved to disk. If you just
copy the current templated implementation for map loading and
instantiate a specialized version for your case, I would think
that would handle the job.

Robert Ramey

>
> I know that there is no obvious fix for this. However, I was
> wondering whether is there any much better workaround?
>
> Thank you very much!
>
> yccheok


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