Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Custom Shared pointer
From: Jari (jaristr_at_[hidden])
Date: 2013-04-22 18:31:36


no one has answered yet.
my main question simply is does boost serialization support smart pointers
or is that more or less unimplemented yet?
i maybe trying to use boost to something it can't do.

thanks

On Sun, Apr 14, 2013 at 9:22 AM, Jari <jaristr_at_[hidden]> wrote:

> 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