News for hackers. Stuff that matters.
Re:What's wrong with this code, really? by dkersten on Friday September 16, 2011 @09:18AM (#3004301)
Maybe, maybe not - depends on the container.

But thats not the point - while (not empty) is not iterating over the loop, so there is no danger of corrupting the iterator.

There are no comments on this comment yet.