Hello,<br><br> When trying to serialize a STL map, doing the following (in Visual C++ 7.1):<br><br>class Being<br>{<br>private:<br> std::wstring Name, Description;<br> friend class boost::serialization::access;<br> public:<br> template<class Archive><br> void serialize(Archive & ar, const unsigned int version)<br> {<br> ar & this->Name;<br> ar & this->Description;<br> }<br>};<br><br> class Ecosystem<br>{<br>private:<br> friend class boost::serialization::access;<br> std::map<std::wstring,Being> Beings;<br>public:<br> template<class Archive><br> void serialize(Archive & ar, const unsigned int version) <br> {<br> ar & this->Beings;<br> }<br>};<br><br>...<br>ar & ecosystem; // Making the serialization within some function (storing)<br>...<br><br> I get this compile-time error:<br><br><br> "c:\Boost\include\boost-1_33_1\boost\serialization\access.hpp(109): error C2039: 'serialize' : is not a member of <br> 'std::map<_Kty,_Ty>' with [_Kty=std::wstring,_Ty=Models::Beings]"<br><br><br> Has anyone any ideas about the reason for this error?<br> Thanking you in advance,<br><br><br> David <br><br>