Iterators in Ada 2012

Emmanuel Briot from AdaCore has written a couple of Ada gems about the new Ada 2012 iterators:

Ada 2012 iterators provide syntactic sugar for iterating over data structures. This Gem describes the new syntax and what it brings to the language. Part 2 will explain how you can define your own iterators when formulating new data structures.

This is very good stuff. Be sure not to miss these two articles.

Leave a Reply