Boost logo

Boost Users :

Subject: Re: [Boost-users] How to implement a visitor pattern over an AST
From: Nat Goodspeed (nat_at_[hidden])
Date: 2018-12-18 23:01:49


On Mon, Dec 10, 2018 at 3:15 PM Michael Powell via Boost-users <
boost-users_at_[hidden]> wrote:

And so on... Which also guarantees that I am also walking both tree's
> at the same moment and in like fashion.
>

For comparison, you might consider the use of Boost.Coroutine to allow you
to interleave recursive steps through your two trees:
https://www.youtube.com/watch?v=3SvkWY7JSeY
(originally discussed here:)
https://groups.google.com/forum/#!msg/boost-list/AZQgtk6jMho/fIFowJ72AgAJ



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