|
Boost : |
Subject: Re: [boost] [multi_index][serialization]save_construct_data not called for multi_index collection
From: Joaquin M Lopez Munoz (joaquin_at_[hidden])
Date: 2009-12-24 13:28:29
Felipe Magno de Almeida <felipe.m.almeida <at> gmail.com> writes:
>
> On Tue, Dec 22, 2009 at 12:52 PM, Felipe Magno de Almeida
> <felipe.m.almeida <at> gmail.com> wrote:
> > On Tue, Dec 22, 2009 at 5:23 AM, Â <joaquin <at> tid.es> wrote:
> >> joaquin <at> tid.es escribió:
> >>
> >> 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.
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.
JoaquÃn M López Muñoz
Telefónica, Investigación y Desarrollo
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk