Boost::Serialization Mpi Sending array of user defined types
- by Noman Javed
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