Boost logo

Boost Users :

Subject: [Boost-users] [serialization] Custom Shared pointer
From: Jari (jaristr_at_[hidden])
Date: 2013-04-14 02:22:24


hi
i have couple questions about boost serilazation regarding shared pointers.
First off i was wondering if boost::shared_ptr has
working serilazation code? if so maybe i can learn from there.

What's im trying to do is save fairly simple custom shared-pointer class.
All it should take is to save the pointer in the class and ref count as
well the Parent variable which is pointer to the parent shared-pointer.

what needs to be considered for this? should i disable tracking for the
shared-pointer and does the pointer stored in the shared-pointer require
some special considerations?

thanks.



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net