Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2008-02-01 12:05:54


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


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