|
Boost : |
Subject: Re: [boost] Boost Serialization: Serializing large objects
From: Robert Ramey (ramey_at_[hidden])
Date: 2017-10-10 01:36:02
On 10/9/17 4:21 PM, Adlai Shawareb via Boost wrote:
> Thanks for your help. When serializing into a stringstream, how does Boost add or allocate memory to the stringstream?
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.
Robert Ramey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk