So, while there is no difference for simple objects, pre increment should be used for iterators and other template objects. Because you use simple type, there are no side effects, and post- or pre increments are run after the loop body, there is no impact on the value in the loop body.