
"Joaquín Mª López Muñoz" <joaquin@tid.es> wrote in message news:41AEC3AE.21D594CB@tid.es...
cont.begin(): 1 pos points to: 1 cont.begin(): 1 pos points to: 1243388
illustrating that the pointer is not correctly deserialized.
OK, I see it now. I tweaked your example a little but it still fails. In my view - it should work. The fact that it doesn't reflects an implementation issue with the serialization library with respect to its implemenatation for standard containers. Your original observation that the container de-serialization doesn't do inplace construction is the source of the difficulty. My interest would be to see this re-considered to see if its possible to use in-place construction - similar to the way its done for most other pointer like objects. Somehow it doesn't seem that this should be all that hard. However, I did consider it but didn't do it that way - I forget why. I suspect that the current system turned out to tbe easiest and I didn't seen anything wrong with it - until now. I'll look into this. Robert Ramey