Boost logo

Boost Users :

From: Steve Sanders (ssanders_at_[hidden])
Date: 2008-07-14 17:40:56


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

-Steve Sanders

 

  _____

From: boost-users-bounces_at_[hidden]
[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Robert Ramey
Sent: Monday, July 14, 2008 2:54 PM
To: boost-users_at_[hidden]
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

 

  



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