Boost logo

Boost Users :

From: Matthias Troyer (troyer_at_[hidden])
Date: 2008-08-29 23:50:47


How would you serialize pointers as binary objects?

On 29 Aug 2008, at 17:13, Robert Ramey wrote:

> Are you sure really want to do this? look into binary object.
>
> Robert Ramey
>
> Matthias Troyer wrote:
>> On 28 Aug 2008, at 20:47, Diane wrote:
>>> tracked_char *tcp = it.chstar; //****error on this line****//
>>> ar & *tcp;
>>> }
>>>
>>> I get this compile error: cannot convert `char*' to `tracked_char*'
>>> in initialization
>>
>> Can you try
>>
>> tracked_char* tcp(it.chstar)
>>
>> That sometimes works for me if I have such problems
>>
>> Matthias
>
>
>
> _______________________________________________
> 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