Boost Users :
From: Christian Henning (chhenning_at_[hidden])
Date: 2006-05-25 18:40:52
Hi Robert, I would be interested in doing that. Here is what I would
like to achieve:
typedef tuple< string, string, string > Key;
typedef map< Key, int > MyMap;
int _tmain(int argc, _TCHAR* argv)
const MyMap& caMap = aMap;
ofstream ofs( "Settings.txt" );
boost::archive::text_oarchive oa( ofs );
oa & caMap;
This code fails because no serialize function is defined for the Key type.
Can you point me to the code section that does the serialization of std::pair.
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