On 4 April 2016 at 06:20, John Regehr <regehr@cs.utah.edu> wrote: >> for (auto i = values.begin(); i != values.end(); ++i) { > > > Or if we want to go really crazy: > > for (auto i : values) { +1 to using a modern C++ dialect. It makes the code easier to read and reason about. -- Eitan Adler