
10 Jan
2005
10 Jan
'05
5:22 a.m.
I mentioned in an earlier response to JT that I have written a function to filter adapter. The entire code is now online at http://www.cdiggins.com/iostreams_fxn_filters.hpp I can't help but wonder if the syntax for chaining streams to filters shouldn't be cin >> fxn_filter(fxn) >> cout; instead of cin | fxn_filter(fxn) | cout; Anyone have any thoughts on the subject? Would anyone else, other than me, like to see this functionality added to iostreams? - Christopher Diggins Object Oriented Template Library (OOTL) http://www.ootl.org