Boost logo

Boost Users :

From: Piyush Kapadia (piyush.kapadia_at_[hidden])
Date: 2005-11-01 17:17:38


I could not find any documents for Reference >> Pointers >> Pointers to
Objects of Derived Classes ??

Can you please send html link, thanks

On 11/1/05, Jeff Flinn <TriumphSprint2000_at_[hidden]> wrote:
>
> "Piyush Kapadia" <piyush.kapadia_at_[hidden]> wrote in message
> news:7e7bf0020511010615t8c92a2asfe149a43ba845080_at_mail.gmail.com...
> We have a situation where there is BaseAbstract class and Derived concrete
> class.
> Interface requires that we pass BaseAbstractClassPointer, using which user
> can provide any of Derived Concrete class pointer and Interface remain
> generic to them.
> However serializing BaseAbstractPointer is throwing following error -
> *A unregistered class*
> How do we handle this situation ?
>
> See Reference >> Pointers >> Pointers to Objects of Derived Classes in the
> serialization docs. You'll have to explicitly register your derived classes.
>
> Jeff Flinn
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>
>



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