From: Peter Bindels (dascandy_at_[hidden])
Date: 2007-06-18 09:21:56
I have been thinking about changing IOStreams for a while but never
came up with a design that actually got the stuff just right.
I am tending toward a system that has a three layer design. The first
layer encompasses reading and writing the device, the second layer
takes a first or second layer object and allows you to decorate or
encapsulate it (decode UTF, ISO8859 or so on) and the third layer
object that allows a programmers interface (in case of legacy
iostreams support for operator<< and >>). In essence, a bottom layer,
top layer and "middle layer" that can be recursively applied. I recall
the Java model being similar.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk