Boost logo

Boost Users :

Subject: Re: [Boost-users] mpi/serialization: broadcasting derived classhrough base pointer 1.47
From: MM (finjulhich_at_[hidden])
Date: 2012-01-24 13:28:41


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Robert Ramey
> Sent: 24 January 2012 17:53
> To: boost-users_at_[hidden]
> Subject: Re: [Boost-users] mpi/serialization: broadcasting derived
> classhrough base pointer 1.47
>
> MM wrote:
> typedef templateclass<arg> myclass;
> >
> > On the sending side, I have BOOST_CLASS_EXPORT_KEY(
> > namespace::namespace::myclass )
> >
> > I don't know why it is not sent down the pipe.
>
> Note that you'll have to have BOOST_CLASS_EXPORT... on BOTH sides.
>
> This is usually assured by having the save and load symetrical.
>
> Robert Ramey

Thanks, I do.

So there's nothing particular about using BOOST_CLASS_EXPORT_KEY with a
instantiation of a class template?

I think what's left is to find where the class name is written for the mpi o
packed archive, which is what I'm looking for.

MM


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