
1 Feb
2008
1 Feb
'08
5:05 p.m.
Try putting it in the header (*.hpp) which contains the class delaration Robert Ramey Robert Bielik wrote:
Then in the body (.cpp) I define:
BOOST_CLASS_VERSION(MyClass::InternalClass, boost::serialization::object_class_info) BOOST_CLASS_VERSION(MyClass::InternalClass, 1)
But when saving to the XML archive file, I still get version="0" for the InternalClass objects (?)
/R