<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40596 >
> [book - Thu Dec 11 06:36:54 2008]: > > Attached patch adds a generic iterator interface for > implementing iteration macros. > > [...] > > Now while the 4 goals listed above should be satisfied by > this framework, there are some disadvantages to this > particular implementation of the system: > > [...] I would add to the list of disadvantages that using the 'return' statment in a generic_iterate macro prevents the iterator from being freed. This is a pretty big deal- breaker in my opinion. :( I do have an idea on how to fix 3 of the 4 disadvantages though, so I will try a second version soon. :) ----------------------------------------------------------------------- ああそう。興奮してる。 _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev