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-18 22:14:21


Igor R wrote:
> Hello,
>
> I'm serializing the following type:
> (pseudo-definition)
> multi_index_container<
> variant<
> shared_ptr<template1<arg1> >,
> shared_ptr<template2<arg2> >,
> etc...
> >
>>
>
> It works well when I make and load archives with the current version
> of my app, but when I try to open an archive made by the pervious
> version it throws unregistered_class for one of my classes.
> The both versions use boost 1.47, and the differences between them
> seem to me absolutely unrelated to serialization (as far as I can
> see).
>
> Unfortunately I can't provide here code snippets, so my question is
> theoretical: what could break the backward compatibility in such a
> way? What should I look into?
>
>
> Thanks.


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