Boost logo

Boost :

From: Eric Woodruff (Eric.Woodruff_at_[hidden])
Date: 2002-08-11 11:42:18


I've considered that a streambuf that works off a set of existing character
iterators might be useful.

----- Original Message -----
From: Daryle Walker
Newsgroups: gmane.comp.lib.boost.devel
Sent: Sunday, 2002:August:11 11:44 AM
Subject: Added stream adaptors and array-based streams to sandbox[Repeat]

In the Boost CVS sandbox, I added:

<boost/io/stream_wrapping.hpp>
    A systematic way to make stream types from a new streambuf type

<boost/io/array_stream.hpp>
    A streambuf that uses an internal array for its work.
    Not very useful, meant more as an application of stream-wrapping

BOOST_ROOT/libs/io/array_stream_test.cpp
    A simple demonstration of the above two headers
    Needs much improvement, help?

<boost/io_fwd.hpp>
    Updated for the two headers listed

I realized that we make new I/O source/sink types by creating a new
streambuf type. Then we write attached streams that use that streambuf.
The standard library works this way. I hope my classes can automate the
process somewhat.

Opinions?

--
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com
_______________________________________________
Unsubscribe & other changes:
http://lists.boost.org/mailman/listinfo.cgi/boost

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