[RCF] Automatic archive version negotiation with boost seria

RCF support and general discussion.
Post Reply
rpaloschi
Posts: 1
Joined: Tue Dec 24, 2013 4:31 pm

[RCF] Automatic archive version negotiation with boost seria

Post 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,

jarl
Posts: 238
Joined: Mon Oct 03, 2011 4:53 am
Contact:

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

Post 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.
Kind Regards

Jarl Lindrud
Delta V Software
http://www.deltavsoft.com

Post Reply