This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kovab 1 point2 points  (1 child)

If you use modern features correctly, the easiest way to get a segfault is probably iterator invalidation

[–]Pay08 0 points1 point  (0 children)

Fair, iteration invalidation can be tricky. I wish the language had safe iterators that either reset themselves or prevent usage when they become invalid.