News for hackers. Stuff that matters.
Re:You can't make C++ not ugly, but you can't not try (2010) by mehrdadn on Thursday February 27, 2020 @08:03AM (#22432830)
By invalidating iterators (and pointers and references) when swapping: https://stackoverflow.com/a/8191356

There are no comments on this comment yet.