$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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