Re:My favourite C++ footgun
by saagarjha on Tuesday June 22, 2021 @08:04PM
(#27599030)
Heh, you can run into this even if you understand how iterator invalidation works. Once you see the bug it's easy to understand, but finding it might not be…
[ Parent
| on HN ]
> finding it might not be…
Valgrind memcheck is your friend.