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. 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
Cheok Yan Cheng wrote:
By refering to message
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
participants (2)
-
Cheok Yan Cheng
-
Robert Ramey