在編繹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)