Thank you, that makes my sample work.  These points could be clearer in the docs, I would say.

-Steve Sanders

 


From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Robert Ramey
Sent: Monday, July 14, 2008 2:54 PM
To: boost-users@lists.boost.org
Subject: Re: [Boost-users] [serialization] Visual Studio 2008 + Boost 1.35:runtime casting not working

 

The base class MUST be polymorphic - that is have at least one virtual function.

 

AND the the pointer to the base class - not the derived class should be serialized.

 

Robert Ramey