|
Boost : |
From: christopher diggins (cdiggins_at_[hidden])
Date: 2005-01-06 17:12:05
Hi all, the compulsive coder here again,
I've just written in a working prototype of a library for writing C++
programs which can be treated in C++ code like Unix filters, i.e. redirected
to and from streams, and other programs.
For instance:
fstream f("c:\\tmp.txt");
stringstream s;
HelloWorldProgram() > f > UpperCaseProgram() > s;
Is there any interest in this kind of library, for boost? I am using it for
writing test and demonstration programs of libraries, but I think it has a
lot of other uses.
The source code and a more detailed explanation is at
http://www.codeproject.com/useritems/program-objects.asp
Christopher Diggins
http://www.cdiggins.com
http://www.heron-language.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk