Boost logo

Boost Users :

Subject: Re: [Boost-users] [repost][serialization] version handling in{save|load}_construct_data
From: JOAQUIN M. LOPEZ MUÑOZ (joaquin_at_[hidden])
Date: 2010-01-10 14:27:32


________________________________________
De: boost-users-bounces_at_[hidden] [boost-users-bounces_at_[hidden]] En nombre de Robert Ramey [ramey_at_[hidden]]
Enviado el: domingo, 10 de enero de 2010 20:22
Para: boost-users_at_[hidden]
Asunto: Re: [Boost-users] [repost][serialization] version handling in{save|load}_construct_data
>
> I investigated a little bit more. Seems that save/load_construct data needs
> the version # and there is no place else to get it.

Why can't you directly use serialization::version<T>::value? This is
for instance what you're doing at lines 51 and following of
boost/serialization/hash_collections_save_imp.hpp.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo


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