$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2005-05-20 03:23:46
Hi,
I was trying to serialiaze ptr_containers and I couldnt find a way, so
I copied some headers and modified them to serialize ptr_list(the only
one I need to serialize in the moment), and it seems to be working. So
If someone is interested, I could send it to someone. Im not an expert
in the serialize library, so I dont even know if it is really right...
But it worked to me(the objects are all serialized as pointers, so if
there's two objects then it just serialize one...). I think that
extending it to serialize others sequence containers would be very
easy, but I didnt touch in the associative containers...
The files that I created:
ptr_collections_load_imp.hpp // from collections_load_imp.hpp
ptr_collections_save_imp.hpp // from collections_save_imp.hpp
ptr_list.hpp // from list.hpp
Thank you.
-- Felipe Magno de Almeida UIN: 2113442 email: felipe.m.almeida+spam at gmail com felipe.almeida+spam at ic unicamp br, felipe.m.almeida at gmail com, felipe+spam at synergy com (Remove the +spam from the email) I am a C, modern C++, MFC, ODBC, Windows Services, MAPI developer from synergy, and Computer Science student from State University of Campinas(UNICAMP). To know more about: Unicamp: http://www.ic.unicamp.br Synergy: http://www.synergy.com.br current work: http://www.mintercept.com "There is no dark side of the moon really. Matter of fact it's all dark."