I obtain this error: c:\boost\boost_1_42\boost\serialization\access.hpp(118) : error C2039: 'serialize' : is not a member of 'Container'
Marco Meoni - Sbaush wrote:
> struct Example{
> friend class boost::serialization::access;
> template<class Archive>
> void serialize(Archive & ar, const unsigned int /*
> file_version */){ar & results_container; // INCLUDE THIS
> }
> Container* results_container;
> MyMap this_is_a_map;
> Example(){}
> ...
> ...
> };Try specifying which members you want to serialize in the serialize function. See above.Robert Ramey
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users