Hey lazy man :-), I suppose the
ranged for syntax[
^] gives you no escapes, you have to go with the
++index;
in the curly braces.
BTW: often what do you really want to do is
for ( auto & potato : potatoVector)
or
for ( const auto & potato : potatoVector)