
3 Oct
2013
3 Oct
'13
2:04 p.m.
On 03/10/2013 11:52, Sebastian Messerschmidt wrote:
Hi folks,
(...) What am I doing wrong?
Hi Sebastian, This is because you are serializing the same shared_ptr over and over again so it's only serialized the first time and all the other times the library notices it's the same pointer and will only serialize a "reference" to it. See http://www.boost.org/doc/libs/1_49_0/libs/serialization/doc/serialization.ht... which explains this. I hope this helps, MAT.