Boost logo

Boost :

Subject: Re: [boost] [multi_index][serialization]save_construct_data not called for multi_index collection
From: joaquin_at_[hidden]
Date: 2010-02-03 09:34:58

Joaquin M Lopez Munoz escribió:
> Felipe Magno de Almeida <felipe.m.almeida <at>> writes:
>> On Tue, Dec 22, 2009 at 12:52 PM, Felipe Magno de Almeida
>> <felipe.m.almeida <at>> wrote:
>>> On Tue, Dec 22, 2009 at 5:23 AM, <joaquin <at>> wrote:
>>>> joaquin <at> escribió:
>>>> Can you please check whether
>>>> solves your problem? Thank you,
>>> Yes it does. Worked flawlessly.
>> Sorry, now repatching another version I see your patch doesn't seem right.
>> You're passing the version of multi_index_container serialization to
>> save_construct_data_adl. Which should get
>> boost::serialization::version<T>::value.
>> Where T is iterator::value_type.
> Yep, you're right. But I've taken a look at the
> collection serialization code in Boost.Serialization
> and I don't quite grasp all the stuff there with
> respect to the version number. I'll post a request
> for info.

Hi again Felipe,

I thoroughly studied the matter and I think I got it right now,
value_type serialization
class versioning should be handled right now. Could you please take a
look at

and report if everything's now OK on your side?

Thank you,

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at