Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] unregistered_class exception thatwasn't occurring before
From: Robert Ramey (ramey_at_[hidden])
Date: 2011-10-19 13:04:01


Igor R wrote:
> The serialization code didn't change at all.

maybe - but the what could change is the following.

Som class might now being doing

ar < p where p is a pointer where as before this was never done.

This would affect the archive even without changing the
serialization code itself.

Look for that.

Robert Ramey

>In the both versions it
> serializes the structure I described in the previous message. The
> classes changed a bit, but I can't realise how it could affect the
> serialization.
> The xml item made by the previous version look like this:
> <item>
> <which>5</which>
> <value class_id="64" tracking_level="0" version="1">
> <px class_id="65" tracking_level="1" version="0" object_id="_116">
> <info>etc...
>
> The same item from an archive made by the new version:
> <item>
> <which>5</which>
> <value class_id="84" tracking_level="0" version="1">
> <px class_id="85" tracking_level="1" version="0" object_id="_84">
> <info>etc...
>
> When it comes to <px class_id="65"...>, i.e. to the raw ptr within the
> shared_ptr<>, it can't find the class.
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users


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