CodePudding user response:
And the normal cycle without distinctionCodePudding user response:
Through with this man, big suddenlyEnhanced for loop compiled in fact or iterator, certainly can modify the element, just can't remove elements, can cause abnormal synchronous change counter count inconsistent,
CodePudding user response:
Dear John,Are made with reference to the modification, reference points to the real object