|
Boost : |
From: John Torjo (john.lists_at_[hidden])
Date: 2004-09-07 00:41:25
Carlo Wood wrote:
>>While having streambuf_facade is DEFINITELY a good idea, I think you
>>should have an "Advanced" section, where you talk about the streambufs.
>>The rest of us are quite happy with having and using stream_facade.
>
>
> I get the impression that most of the reviewers have
> an objection against the uses of streams. The consensus seems
> to be that the library should restrict itself to a (binary)
Why binary? I could see lots of uses for text as well.
My favorite is:
write a text that is to be formatted by columns.
Every time you write a tab, you go to next column.
At the sink' construction, specify how many spaces each column has, and
when you receive a tab, fill the rest of the column with spaces.
> streambuf interface. Almost everyone has complained one way
> or the other about the mixup of streams versus streambufs.
>
Jonathan already answered it.
Best,
John
-- John Torjo Freelancer -- john_at_[hidden] Contributing editor, C/C++ Users Journal -- "Win32 GUI Generics" -- generics & GUI do mix, after all -- http://www.torjo.com/win32gui/ -- v1.3beta released - check out splitter/simple_viewer, a File Explorer/Viewer all in about 200 lines of code! Professional Logging Solution for FREE -- http://www.torjo.com/code/logging.zip (logging - C++) -- http://www.torjo.com/logview/ (viewing/filtering - Win32) -- http://www.torjo.com/logbreak/ (debugging - Win32)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk