id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 4373,object tracking not working when pointer is serialized before class member,anonymous,Robert Ramey,"I'm not sure if this is a bug or a limitation of Boost.Serialization. I haven't found anything in the documentation saying that this limitation exists though. it's certainly unexpected if you don't think about serilization internals: struct B{ //Serializable }; struct A{ B *bptr; B b; template void serialize(Archive &ar,unsigned int){ ar & bptr; //error ar & b; } }; if bptr is pointing to b, the object can not be loaded correctly. I'm not sure what actually happens, I guess there is a duplicate created, but bptr isnt equal to &b after serialization, as it was before serialization. b must be serialized before bptr for this to work. testcase attached.",Bugs,closed,Boost 1.44.0,serialization,Boost 1.44.0,Problem,invalid,,