|
Boost Users : |
Subject: [Boost-users] Boost MPI Serialization : Sending serialized array of user defined classes
From: Noman Javed (noman_bwp_at_[hidden])
Date: 2010-06-03 18:13:52
I want to send my Array class using boost Mpi
template<class T>
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<double> real_imag; // contain two elements
};
How can I send Array<complex> using Boost::Mpi + serialization.
Thanks in anticipation
Regards
Noman
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