The line is equivalent to this:
delete (*(iter++))
But since postfix increment returns the original value, you are still looking for the original iter value. Therefore, if iter points to a pointer to a dynamically allocated object, delete destroy that object. Then iter will remain a pointer to the next pointer.
source share