Boost logo

Boost Users :

Subject: [Boost-users] Serialization of a class which contains a pointer
From: Nguyen Kim Son (nguyenkims_at_[hidden])
Date: 2010-05-19 03:27:16


Hello,

I've tried a simple example with the serialization of a class that contains
an int and a pointer to int (named "nothing" in the code) but after having
tried both ar & (*b) and ar & b (b is the second variable), I have not
been succeeded to send the class via the call "send" (in boost::mpi).
My code is found at:
http://www.copypastecode.com/29170/
Does anyone has an idea of why it doesn't work?
Thank you in advance!

Son.

-- 
---------------------------------------------------------
Son NGUYEN KIM
Antibes 06600
Tel: 06 48 28 37 47


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