
----- Original Message ----- From: "Jonathan Turkanis" <technews@kangaroologic.com> To: <boost@lists.boost.org> Sent: Tuesday, January 11, 2005 10:56 PM Subject: [boost] Re: Re: Re: Re: Re: Functions as Filters (was Program Reuse...)
Hi Christopher,
I think I haven't made my main point clear, so let me try to rephrase it.
Hi Jonathan, I am pretty sure I understand you. Before I continue, I first want to know one thing, do you (or anyone else) see any value of being able to write C++ code like the following? #include <iostream> #include <fstream> #include "fxn_filters.hpp" using namespace std; void ToUpper() { char c; while (cin.get(c)) cout.put(c); } int main() { fstream("input.txt") > Filter(ToUpper); } Christopher Diggins http://www.cdiggins.com