|
Boost : |
Subject: Re: [boost] Boost Serialization: Serializing large objects
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-10-10 18:11:03
On 10/10/17 10:41 AM, Adlai Shawareb via Boost wrote:
>>
>> Boost doesn't do it. std::stringstream does it.
>>
>> It's not too hard to make your own archive which is just a giant memory
>> buffer. I think there's an example in the documentation which does
>> this. But I might be wrong.
>
> Sorry Robert I wasn't clear. What I meant to ask was which calls to std::stringstream does Boost use to add memory to the stringstream?
as far as I know there are no such calls supported by std::stringstream.
But maybe I'm wrong about that. Boost serialization uses the
interface provide by std::basic_stream - no more than that.
>
> I looked at the Serialization Tutorial and didn't see an example of making my own archive. If you are inclined, I would appreciate an example.
>
> Adlai
>
> _______________________________________________
> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk