Hacker News new | ask | show | jobs
by shaklee3 2233 days ago
I feel like this is something common c++ developers know, and it's not worth all the baggage to tag it. You just control the iterator inside the loop instead of in the loop declaration.