On Tue, Jul 13, 2010 at 11:58 PM, Didier 'Ptitjes' <[email protected]> wrote:
> There is already language support for tupples in Dova profile and there
> is great chance it comes one day to the GLib profile. So an iterator
> could return a Tupple, and you could do:
>
> foreach (var (i, e) in iterator.indexed()) {
>        // do whatever with i and e
> }

Nice! Would help the Hash iterators too.

martin
_______________________________________________
libgee-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/libgee-list

Reply via email to