This means the same as an integer.
For a preliminary increment, iter is incremented, and the returned object is the same as iter.
For a post-increment, iter must be copied to a temporary one, then the itera is incremented, the copy is returned. However, most compilers can optimize the fact that this copy is not used, and thus the copy can be eliminated, which makes it the same as pre-increment.
For those compilers that cannot, post-increment can lead to slightly slower preprocessing, but this is not so common.
source share