Boost Users :
Subject: Re: [Boost-users] mpi/serialization: broadcasting derived classhrough base pointer 1.47
From: Matthias Troyer (troyer_at_[hidden])
Date: 2012-01-26 12:24:34
On 24 Jan 2012, at 19:28, MM wrote:
>> -----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.
I found the cuplrit and will submit a patch when I find time - probably tomorrow night or over the weekend.
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