Boost logo

Boost Users :

Subject: Re: [Boost-users] Problem with Boost Serialization
From: Matthias Troyer (troyer_at_[hidden])
Date: 2010-03-04 17:03:03


Look at this line of code:

> outputArchive & msg;

Can you try making a NVP from msg? and similarly for seserializing?

Matthias

On 4 Mar 2010, at 18:01, Binh Luong wrote:

>
> Hi,
>
> sorry that i forgot the code.
> Here you are http://codepad.org/TbPq2PWb
>
> Regards,
> Binh
>
>
> Matthias Troyer-2 wrote:
>>
>>
>> On 4 Mar 2010, at 12:40, Binh Luong wrote:
>>
>>>
>>> Hi,
>>>
>>> oh sorry, i was wrong in the last message. Although i changed to pass a
>>> const pointer to the serialize function, the errors are still there ...
>>> I have put the attribute in NVP wrappers.
>>>
>>> You can see the header file Mesage.h here http://codepad.org/ktpm8Aab
>>>
>>> Regards,
>>> Binh
>>>
>>
>> Can you post the actual code you try to compile? the code you posted did
>> not contain any NVP wrapper around the pointer
>>
>> Matthias
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Problem-with-Boost-Serialization-tp27743377p27783591.html
> Sent from the Boost - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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