Re: [boost] [rfc] I/O Library Design

Cédric Venet wrote:
Seems iteresting.
Thank you, and thank you for the comments.
There is a small problem on this line (main page): Noteworthy readers/writers are StringReader/Writer, *for in-memory I/O*, and InputStreamReader and OutputStreamWriter, which wrap binary streams and do on-the-fly character conversion.
The for in-memory I/O seems to be a copy paste error.
Not really. StringReader is passed a java.lang.String at construction and offers the text therein as the data to be read. StringWriter accumulates everything written to it in a StringBuffer (StringBuilder in 1.5? No idea.), so that the accumulated string can then be accessed.
Others than this, I don't have much to says. Just a word on formatting: we need a better way than iostream for specifying formatting option. When I need to print number, I often go back to printf. The actual system is to clumsy.
I agree.
Regards, // I am supposed to put this on the bottom of a mail? // seems like some do other put Best regards (and others nothings) // I suppose it is the equivalent of 'Cordialement' in French
My French is extremely limited, but yes, it seems to be something like that. Of course, I rarely close my mails to mailing lists in this way. Sebastian Redl
participants (1)
-
Sebastian Redl