2 Jul
2011
2 Jul
'11
5:33 p.m.
Hi -- I'm trying to serialize an object in a boost::shared_ptr, here: https://github.com/biot023/cell_biots/blob/master/include/game.h#L30 My problem is that the object isn't getting persisted, only the shared_ptr (I think). The result of this save is this: https://gist.github.com/1061413 Can anyone advise me on what I'm doing wrong? I've included <boost/serialization/shared_ptr.hpp>, but I guess there's something else I need to be doing. Any & all help very gratefully received, Doug.