Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi/serialization: broadcasting derivedclass through base pointer
From: MM (finjulhich_at_[hidden])
Date: 2012-01-20 16:53:59

> -----Original Message-----
> invoke that any time after the archive is created but before the
> "derived_one" is serialized.
> make sure you do it in the same place on saving an loading. I believe
> the
> following would work.
> binary_oarchive oa(...)
> oa.template register_type<derived_one>;
> ...
> binary_iarchive ia(...)
> ia.template register_type<derived_one>;
> ...

Is this something automatically done in boost::mpi::broadcast() or the
functions it calls?
My user code doesn't deal with the archive directly, it's boost::mpi's that



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