> That's just a simple example. The same logic also prevents iterator invalidation and use-after-free, which are things that do occur in the real world and lead to security vulnerabilities.
Maybe I should mention some of the more complicated examples explicitly, then?