On Tue, 2015-03-17 at 22:31 -0600, Jeff Law wrote: > I'm not a big fan of keeping the FOR_EACH_blah style iterator and would > prefer to use real C++ iterators. But it ought to give you some ideas > about how to start breaking these things out.
BTW I've tried to propose to start doing that (using C++ 'standard' iteration concepts) a while ago: https://gcc.gnu.org/ml/gcc-patches/2013-12/msg01129.html Unfortunately the discussion didn't go anywhere. Maybe the patch could serve as a starting point for something/somebody. Cheers, Oleg