Boost logo

Boost :

From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-07-11 19:04:48


Larry Evans wrote:
> On 07/11/2005 05:02 PM, Jonathan Turkanis wrote:
> [snip]
>>
>> Here are the candidates:
>>
>> 1. streambuf_facade / stream_facade
>> 2. generic_streambuf / generic_stream
>> 3. streambuf / stream
>> 4. xstreambuf / xstream
>> 5. device_streambuf / device_stream
>> 6. devbuf / devstream
>>
> Jonathan, I just looked at:
>
> libs/iostreams/doc/index.html
>
> where, in section with title:
>
> Policy-Based Streams and Stream Buffers
>
> there's:
>
> streambuf_facade and stream_facade implement standard stream
> buffers and streams which perform i/o by delegating to a contained
> Filter or Device.
>
> so I was thinking maybe:
>
> {stream,streambuf}_delegator
>
> would be better, or at least it would reflect the above wording in
> the documentation ;)

Reflecting that wording isn't a high priority. ;-) In fact, I think the wording
is a bit awkward.

(Also, there's already a template delegating_streambuf which implements a
streambuf that delegates to a second streambuf.)

Jonathan


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