
On Mar 20, 2:13 pm, Sohail Somani
Benoit Gagnon wrote:
On Mar 19, 10:26 am, Benoit Gagnon
wrote: On Mar 19, 9:58 am, "Robert Ramey"
wrote: Depending on which version of boost you're using. You may have to include a special macro - look into serialization/shared_ptr.hpp at the end. Robert Ramey I'm using Boost 1.34.1. The only macro I see in serialization/shared_ptr.hpp is BOOST_SERIALIZATION_SHARED_PTR.
Am I missing something?
I still haven't figured this out, if anyone has clues... Should I make a wrapper class around the std::vector and implement serialization for it?
Do you have BOOST_CLASS_EXPORT for each class that you are serializing by base class pointer? For example, Hospital. You should have something like:
#include
class Hospital ...;
BOOST_CLASS_EXPORT(Hospital)
That did it, thank you!
-- Sohail Somanihttp://uint32t.blogspot.com
_______________________________________________ Boost-users mailing list Boost-us...@lists.boost.orghttp://lists.boost.org/mailman/listinfo.cgi/boost-users