
23 Feb
2005
23 Feb
'05
2:56 p.m.
"Justin Gottschlich" wrote: [snip]
As I was saying in response to Thorsten's post, I have defined my iterator as a tree itself (yes, this may end up being a topic of great discussion/contention =), so the natural semantics of trees are seen in the way it works. [snip]
Similar problems are being solved by Dave Handley in Composite library (in development, zip is in snadbox files). http://www.codeproject.com/vcpp/stl/typed_iteration.asp http://www.codeproject.com/vcpp/stl/functor_iteration.asp http://www.codeproject.com/gen/design/composite_visitor.asp Maybe some inspiration could be taken here or common functionality factored out or reused. /Pavel