|
Boost : |
From: Marcin Tustin (mt_at_[hidden])
Date: 2005-06-10 04:54:23
I should have said *protected* destructors.
> -----Original Message-----
> From: Marcin Tustin
> Sent: 10 June 2005 10:51
> To: boost_at_[hidden]
> Subject: Serialization with private destructors
>
>
> The classes that I am trying to serialize all have
> private destructors (and constructors - they are intended to
> be accessed through a factory function that returns a smart
> pointer). Is there any way serialize such classes beyond
> modifying the headers of these classes (I don't have the
> source) to include "friend class boost::serialization::access;"?
>
> Marcin Tustin
> IT Innovation Centre
> 2 Venture Road
> Chilworth Science Park
> Southampton, SO16 7NP, UK
>
> tel: +44 23 8076 0834
> fax: +44 23 8076 0833
>
> mailto:mt_at_[hidden]
> http://www.it-innovation.soton.ac.uk
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk