I just finished reading a great article on iterators by Andrei Alexandrescu.* Mr. Alexandrescu is the creator of the D programming language.* In this paper, he discusses the background of iterator implementations including C++ STL iterators, and then goes on to outline a new model for iterators.* It’s very readable, I recommend it.

http://www.informit.com/articles/article.aspx?p=1407357

To get a more readable all-in-one page, click on the “print” link on the page above, or go here:

http://www.informit.com/articles/pri...aspx?p=1407357



Read More about [On Iteration by Andrei Alexandrescu...