Boost logo

Boost :

Subject: Re: [boost] [multi_index][serialization] save_construct_data not called for multi_index collection
From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2009-12-24 11:35:33


On Tue, Dec 22, 2009 at 12:52 PM, Felipe Magno de Almeida
<felipe.m.almeida_at_[hidden]> wrote:
> On Tue, Dec 22, 2009 at 5:23 AM,  <joaquin_at_[hidden]> wrote:
>> joaquin_at_[hidden] escribió:
>
> [snip]
>
>>> I'll fix this.
>>
>> Can you please check whether
>>
>> https://svn.boost.org/trac/boost/changeset/58485/
>>
>> 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.

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

Regards,

-- 
Felipe Magno de Almeida

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk