On 20 June 2014 03:34, robert lytton <robert at xmos.com> wrote: > change to use range loops > (should I be using 'auto &I' or plain 'auto I'?) Yes: http://llvm.org/docs/CodingStandards.html#beware-unnecessary-copies-with-auto Cheers, Rafael