boost mpi + pointer to polymorphic class
Hello,
I'm having a problem using boost::mpi::communicator::isend().
The problem is that it appears isend can't serialize via a pointer to
the base of a polymorphic class.
I'm using boost::serialization extensively to archive and I believe
serializing via a pointer to a base class works
when archiving.
This is what I'm trying:
class Event {
public:
virtual ~Event();
};
class Der1Event : Event {
};
class Der2Event: Der1Event {
};
Der2Event* d2 = new Der2Event;
Der1Event* d1 = static_cast
participants (1)
-
Michael Levenhagen