Boost logo

Boost Users :

From: Aljaz (aljaz.fajmut_at_[hidden])
Date: 2007-02-07 14:39:46


I have another question..

When I want to export serialized data (derived class) do I have to use pointer or can I use 'referenced object'?

std::istringstream archive_stream(data);
boost::archive::text_iarchive archive(archive_stream);

baseclass *t;
archive & t;

or can I do:

baseclass t;
archive & t;



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