
I'm aware that some problems occur when loading a map of objects containing other objects whose types are tracked or something like that. I forget the details. The problem is that when an object is moved and that object contains other objects which are pointed to by other objects, I'm speaking from memory but may one can get the idea ffrom that. I think we're talking about the same thing. I looked into fixing this but I couldn't figure out how to do it. It might be possible to fix if one spent more time at it (or it might not). It's not trivial. Robert Ramey Joaquin M Lopez Munoz wrote:
Hello,
Consider a tracked type T which is only serialized through T pointers: under these circumnstances, when loading a T* Boost.Serialization automatically allocates a T object for the pointer to refer to. I've found out that these dynamically allocated objects cannot be moved by using reset_object_address: this member function simply ignores them.
Would it be possible that reset_object_address also took care of these objects or is there any limitation I'm not aware of? FWIW, this is not an academic question but has raised in connection with some serialization code I'm writing.
Thank you,
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users