11 Sep
2012
11 Sep
'12
6:33 a.m.
Examples I would like to see include:
- using a recursive generator to emit iterators over a tree structure (possibly wrapped in a Boost iterator facade) - using a generator for stateful filtering of text lines from a file - composing a chain of such filters - integrating such a filter with Boost.IOStreams - using a coroutine as a stateful sink for text output, e.g. filling output lines with variable-length items within a specified margin.
I could add your suggested examples (some simple tree iterating is already available). But it takes time - I've three little boy and you can image I've never enough time (kids and C++). regards, Oliver