2 May
2007
2 May
'07
3:57 p.m.
Hughes, James a écrit :
Now looking at the code where the final error occurs, it says this is usually down to an unspecified NVP - i.e. a serialisation of a data item not in an nvp statements. However, all the classes involved do have this correctly set up. I have one question on it though..
Should I do this in my derived class to include the base class serialisation
ar & base_object<A>(*this)
Or should I do this
ar & base_object<A>(make_nvp("base", *this) )
You should look into BOOST_SERIALIZATION_BASE_OBJECT_NVP -- Loïc