Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] polymorphic portable binary examplenot working.
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-03-14 00:49:33


Mostafa wrote:
> Hi all,
>
> Can someone please shed some light on this. I'm trying to compile the
> polymorphic portable binary serializor in the examples directory and
> getting compiler errors. Some I managed to fix because a file seemed
> to have been deleted and its class moved to another file, but this
> one has stumped me. In polymorphic_portable_binary_oarchive.hpp, its
> complaining about:
>
>
> #include <boost/archive/detail/polymorphic_oarchive_dispatch.hpp>
>
>
> which is needed for:
>
>
> typedef boost::archive::detail::polymorphic_oarchive_dispatch<
> portable_binary_oarchive
> > polymorphic_portable_binary_oarchive;
>
>
> Obviously polymorphic_oarchive_dispatch.hpp is missing and there
> isn't a class definition for polymorphic_oarchive_dispatch in any
> other files. (I've downloaded the boost source code so I'm not
> relying on any packages.)
> Any help on how to resolve this would be appreciated.

This is out of date. Look at another polymorphic archive header.
For example polymorphic_text_oarchive.hpp. Make the changes
and post a patch in the track system. Also you might find the
"class diagram" link helpful.

Robert Ramey

>
> Thanks,
>
> Mostafa


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