Boost logo

Boost Users :

Subject: [Boost-users] boost::serializable | Persisting a shared_ptr to XML archive
From: doug livesey (biot023_at_[hidden])
Date: 2011-07-02 13:33:46

Hi -- I'm trying to serialize an object in a boost::shared_ptr, here:
My problem is that the object isn't getting persisted, only the shared_ptr
(I think).
The result of this save is this:
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,

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at