Boost logo

Boost :

From: Paul A Bristow (pbristow_at_[hidden])
Date: 2005-07-13 09:01:41


 

| -----Original Message-----
| From: boost-bounces_at_[hidden]
| [mailto:boost-bounces_at_[hidden]] On Behalf Of Jeff Flinn
| Sent: 13 July 2005 13:47
| To: boost_at_[hidden]
| Subject: Re: [boost] [iostreams] please vote on template names
|
|
| "Jonathan Turkanis" <technews_at_[hidden]> wrote in message
| news:db1bn4$gad$1_at_sea.gmane.org...
| > Rob Stewart wrote:
| >> From: "Jonathan Turkanis" <technews_at_[hidden]>
| >
| > But speaking of "buf/stream," how about using "buf" and
| "stream"? E.g.,
| >
| > typedef stream<file> filestream;
| > typedef buf<file> filebuf;
| >
| > typedef stream<array> arraystream;
| > typedef buf<array> arraybuf;
|
| I like these the best so far, particularly 'stream'. Thinking
| about seeing
| 'buf' appearing in code some time in the future without all
| of the context
| in this thread is a little unsettling. Perhaps 'buf' should be
| un-abbreviated to 'buffer'? Although this fly's in the face
| of JW's thoughts
| on the non-buffer nature of streambuf.
|
| After a quick re-read of your docs ( from a few months ago ),
| this comes to
| mind:
|
| resource_stream
| resource_streambuf
|
| based on:
|
| <quotation>
| Concepts
| The fundamental building blocks of the library are the
| concepts of a Source,
| which provides read access to a sequence of characters, a Sink, which
| provides write access to a sequence of characters, an
| InputFilter, which
| filters input read from a Source, and an OutputFilter, which
| filters output
| written to a Sink. Sources, Sinks and their refinements are called
| resources. InputFilters, OutputFilters and their refinements
| are called
| filters.
| </quotation>

Would this suggest

source_stream
source_streambuf

rather than REsource?

Paul

Paul A Bristow
Prizet Farmhouse, Kendal, Cumbria UK LA8 8AB
+44 1539 561830 +44 7714 330204
mailto: pbristow_at_[hidden]


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