Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2007-08-16 11:41:18


I believe this is a manifestation of a header order dependency which is
fixed in a more recent version.

Robert Ramey

Jason Gorski wrote:
> Hello,
>
> I have been using the Boost Serialization libraries on a project of
> mine and so far they have worked very well. However, I have been
> unable to properly load derived objects using a base class pointer.
> The following code generates an unregistered class exception:
>
> #include <iostream>
> #include <sstream>
> #include <iomanip>
> #include <string>
> #include <sstream>

> #include <boost/serialization/export.hpp> // try putting serialization
> headers before archive headers

> #include <boost/archive/text_oarchive.hpp>
> #include <boost/archive/text_iarchive.hpp>


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