Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-01-11 13:11:20

Sorry this isn't clear from the documentation. At the end of the file
you'll find special macros to handle this:



Using these should do the job for you.

Robert Ramey

Jarl Lindrud wrote:
> Hi! A question on serializing pointers to derived classes:
> When I serialize naked polymorphic pointers through base pointers,
> things work as expected, ie the derived classes are serailized and
> deserialized. However, when I replace the naked pointers with
> corresponding boost::shared_ptr's, I get an archive_exception, to the
> tune of "unregistered class".

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at