|
Boost Users : |
Subject: Re: [Boost-users] Using Coroutines in the Visitor Pattern (use-case: BGL event visitor)
From: alex (alexhighviz_at_[hidden])
Date: 2016-01-20 16:29:38
> To be honest, I suppose your proposed API would be a viable alternative. I
think
> part of the rationale for the current API design was to permit facile
mapping to
> iterator operations:
>
> iterator comparison to end => operator bool() iterator operator*() =>
get()
> iterator operator++() => operator()()
>
> Perhaps, having become accustomed to the present API, I'm simply
rationalizing
> its design. I'm sorry if I caused offense.
No offense at all. Thank you for putting forward your coroutine + visitor
solution.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net