Boost logo

Boost :

From: christopher diggins (cdiggins_at_[hidden])
Date: 2005-01-10 00:22:40


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


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