Boost logo

Boost :

Subject: Re: [boost] [explore] Library Proposal: Container Streaming
From: Jeffrey Bosboom (jbosboom_at_[hidden])
Date: 2009-11-30 19:08:01


Robert Ramey wrote:
> Jeffrey Bosboom wrote:
>> I've written simple versions of streaming operators (both output and
>> input) for the standard containers as a simple, low-barrier-to-entry
>> form of serialization. Do you plan to provide the input operators
>> too? (I understand this would involve some restrictions on the
>> streamed forms of the container elements to prevent parsing ambiguity.)
>
> how would this be different than just writing a special archive
> class and using boost seriallization?
>
> Robert Ramey

It didn't require learning to use Boost.Serialization. Also, in the
specific case I needed this for, I was running code on a cluster where
Boost was not available, so it was lighter-weight (although obviously
far less featureful).

--Jeffrey Bosboom


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk