Boost logo

Boost Users :

From: Andras Joo (jooandras_at_[hidden])
Date: 2007-07-04 12:40:36


Dear All,

I'm facing the following problem.
I have the following class hierarchy:

AbstractBase <--- AbstractDerived <----
ConcreteDerived
I managed to make the serialization of
shared_ptr<AbstractBase> using text and binary
archives (text_[i/o]archive, binary_[i/o]archive),
tested, and works fine.

However, when I try to send an
shared_ptr<AbstractBase> with some MPI function, the
compiler complains about packed_iarchive not having
append() and reset() functions.

/home/jooam/usr/include/boost-1_35/boost/serialization/shared_ptr.hpp:129:
error: 'class boost::mpi::packed_iarchive' has no
member named 'append'
/home/jooam/usr/include/boost-1_35/boost/serialization/shared_ptr.hpp:137:
error: 'class boost::mpi::packed_iarchive' has no
member named 'reset'

Any help is appreciated.
Thank you,
Andras

      ____________________________________________________________________________________
Park yourself in front of a world of choices in alternative vehicles. Visit the Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/


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