$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Robert Ramey (ramey_at_[hidden])
Date: 2007-05-02 09:08:11
Hughes, James wrote:
> Hi All,
>
> I am trying to serialise a vector of shared_ptr's which point to a
> base class which may be one of a number of derived class (Not
> polymorphic in that the base class has no virtual functions - its
> just supplies base functionality to derived classes)
I don't think this is generally possible.
The default extended type info relies on dynamic cast for downcasting.
Try making at least one function in the base class virtual.
Robert Ramey