Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] Creating temporary archive objects
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2009-01-26 12:49:17


Shortly after my last response I did some more trial/error searching through
the boost serialization documentation and I think I might have found what
I'm looking for. Unfortunately I cannot post a URL because this particular
area of the boost documentation is using HTML frames. I found it under:

Reference >> Serializable Concept >> Pointers

On Mon, Jan 26, 2009 at 11:41 AM, Robert Dailey <rcdailey_at_[hidden]> wrote:

> Thanks for your response Robert.
>
> I figured it was in the documentation. I'm still unable to find it. I
> realize all I have to do is read the documentation but I don't want to read
> the *whole* thing. The boost documentation has been notorious for being
> difficult to navigate. I cannot find this information anywhere and there's
> no "search" feature.
>
> Could you provide me a URL since you seem to know where this information is
> located?
>
>
> On Mon, Jan 26, 2009 at 10:40 AM, Robert Ramey <ramey_at_[hidden]> wrote:
>
>> The boost serialization library does not require a default constructor.
>>
>> Look at serialization of pointers in the documentation under
>> save_construct/load construct.
>> Its all in there.
>>
>> One of the tests is test_no_default constructor or something like that.
>>
>> All you have to do is read the documentation.
>>
>> Robert Ramey
>>
>> "Robert Dailey" <rcdailey_at_[hidden]> wrote in message
>> news:496954360901260830ud93cf5ale436e3d1aea28d4b_at_mail.gmail.com...
>> Hi,
>>
>> What would be a good technique to deserialize an object without using
>> 2-phase initialization? In other words, I want to avoid first default
>> constructing the object and *then* streaming it out of the archive object. I
>> was thinking of a factory for this but a good code example would help a
>> great deal since I'm not extremely familiar with Boost.Serialization. I was
>> looking through the Boost.Serialization documentation but I was unable to
>> find information on this.
>>
>> Help is greatly appreciated!
>>
>> ------------------------------
>>
>> _______________________________________________
>> Boost-users mailing list
>> Boost-users_at_[hidden]
>> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>>
>>
>> _______________________________________________
>> 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