
13 Dec
2005
13 Dec
'05
4:25 a.m.
Yes thats ok, but I was serializing more than one map in the same class and I wanted to maintain the separation in xml. I guess I'd have to derive my own map I lazily trying to avoid that.
Oh then maybe you want: void serialize(boost::archive::xml_oarchive & ar, std::map<my_class> > & t, const unsigned int version){ // for each member in the map ar & *it; } void serialize(boost::archive::xml_iarchive & ar, std::map<my_class> > & t, const unsigned int version){ // for each member in the map ar & *it; } which would handle xml serializations differently Robert Ramey