-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Robert Ramey Sent: 24 January 2012 17:53 To: boost-users@lists.boost.org 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