Boost logo

Boost :

From: Jeff Flinn (TriumphSprint2000_at_[hidden])
Date: 2008-01-30 08:41:04


Please don't top post or over qoute. See my comments inline below.

> X Wang wrote:
>> Hi, I am using boost serialization text_oarchive to serialize data
>> objects into text strings, and then I need to delimit several of
>> these serialized strings and concatenate them into an ascii text. So
...

> Robert Ramey <ramey_at_[hidden]> wrote:
> Since a std:string and std:wstring could contain any character,
> there is no way go guarentee that any specific character would
> not be used.

...

> What I want is to concatenate some of my own data ...

> and append serialized data (from different modules, treated as a black box) to it.

Just serialize your strings to the archive and then serialize your other
items by pass your archive to the other modules. Why over complicate
things by mixing paradigms.

Jeff Flinn


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