在编绎BOOST::Serialization 例子的时候,遇到的错误.
// if your program traps here, it indicates taht your doing one of the following:
// a) serializing an object of a type marked "track_never" through a pointer.
// b) saving an non-const object of a type not markd "track_never)
// Either of these conditions may be an indicator of an error usage of the
// serialization library and should be double checked. See documentation on
// object tracking.
解决:
BOOST_CLASS_TRACKING(MyClass, boost::serialization::track_never)