20 Jan
2016
20 Jan
'16
9:29 p.m.
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.