|
Boost : |
From: Pavel Vozenilek (pavel_vozenilek_at_[hidden])
Date: 2005-02-23 09:56:47
"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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk