|
Boost : |
From: Noah Stein (noah_at_[hidden])
Date: 2002-02-28 17:06:07
> -----Original Message-----
> From: rameysb [mailto:ramey_at_[hidden]]
> Sent: Thursday, February 28, 2002 12:52 PM
> To: boost_at_[hidden]
> Subject: [boost] Re: Serialization (Persistence) library draft
> submission
>
>
> This case is discussed in the documentation. for such a case
> one more thing will need to be added to each the derived class
>
> C::C()
> {
> // if the program is going to create an archive that
> // serializes and instance of this class through a base
> // class pointer
> serialize<C>::save_register();
> // if the program is going to create an archive that
> // serializes and instance of this class through a base
> // class pointer
> serialize<C>::load_register();
> }
>
> This resolves your concern. It is discussed in the documentation.
> Its usage is demonstrated in demo.cpp
>
> Robert Ramey
>
Thanks. It appears I rushed too quickly through that part of the
documentation.
-- Noah
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk