Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-09-08 02:37:03


Hmm - I the referenced email referred to shared_ptr. Your case is covered
in the documenation. Reference/Serializable/Pointers.

Robert Ramey

Bruno Martínez wrote:
> Hi.
>
> This has been asked before here
> http://lists.boost.org/boost-users/2005/05/11706.php
> but I didn't understand the workaround.
>
> What I want is to serialize class B where
>
> class A {
> ...
> };
>
> template<...>
> class B : public A {
> ...
> };
>
> when I have an A*.
>
> The workarounds proposed were using RTTI non portably, or registering
> the classes each time. How would such solution look like?
>
> Regards,
> Bruno


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