Boost Users :
Subject: Re: [Boost-users] Using Coroutines in the Visitor Pattern (use-case: BGL event visitor)
From: Nat Goodspeed (nat_at_[hidden])
Date: 2016-01-18 19:59:37
On Mon, Jan 18, 2016 at 7:16 PM, Nat Goodspeed <nat_at_[hidden]> wrote:
> On Mon, Jan 18, 2016 at 8:54 AM, Daniel Hofmann <daniel_at_[hidden]> wrote:
>> For example this is a small breadth first search example I came up with:
>> where you can just iterate over the vertices in breadth first order, due
>> to how the control flow is inverted.
> Nice. I'm glad you're using the coroutine library's iterator support
> for range 'for'.
I meant to say, I also like your use of default_bfs_visitor. More
elegant than my explicit visitor!
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