Boost::Serialization Mpi Sending array of user defined types
Posted
by Noman Javed
on Stack Overflow
See other posts from Stack Overflow
or by Noman Javed
Published on 2010-06-03T13:23:17Z
Indexed on
2010/06/03
13:24 UTC
Read the original article
Hit count: 323
I want to send my Array class using boost Mpi
template class Array { private: int size; T* data; public: // constructors + other stuff }; Here T can be any built in type or user defined type. Suppose I have a class complex
struct complex { std::vector real_imag; // contain two elements };
So the question is how can I send Array using Boost::Mpi + serialization.
Thanks in anticipation Regards Noman
© Stack Overflow or respective owner