Page 1 of 1

[RCF] Automatic archive version negotiation with boost seria

Posted: Tue Dec 24, 2013 4:51 pm
by rpaloschi
Hi,

According to the docs, RCF has a mechanism to negotiate the minimum supported version of archives: http://www.deltavsoft.com/doc/rcf_user_ ... ialization

That is exactly what I need, but I was unable to figure out a way to make it work with boost::serialization. Is there a way to use this feature with boost?
It seems to me that boost versioning is a static parameter, maybe it can't be done...
My last resort would be changing my serialization funtions to use SF.

Thanks in advance,

Re: [RCF] Automatic archive version negotiation with boost s

Posted: Thu Jan 02, 2014 12:27 am
by jarl
Hi,

Versioning with Boost.Serialization is a complex affair. It appears to have been implemented by the Boost developers in an ad hoc manner over time, and on the Boost mailing lists I've seen many instances of developers getting burned by it. In my opinion, if versioning is important to you, you would do well to stay away from Boost.Serialization.

If you do change to using SF serialization instead, we will be able to give you a lot more help if you get stuck anywhere.