From: Robert Ramey (ramey_at_[hidden])
Date: 2008-01-28 21:25:55
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.
I'm not sure why you want to do this.
maybe you would like to use a string stream and serialize the data into
that. The you could use a string stream to load it and you would already
have what you wanted.
oa << another_complicated_class_instance;
ia >> my_complicated_class_instance;
first = is.?string;
ia >> another_complicated_class_instance
second = is.?string
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
> obvious I want to choose a delimiter (currently using 0x01) not used
> by boost serialization. My question is how do I find the character
> set used by boost serialization so that whatever I choose for my
> delimiter would not shows up in text_oarchive's result?
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
> Try it now. _______________________________________________
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk