Hacker News new | ask | show | jobs
by azakai 4155 days ago
Yes, in particular, iterator invalidation (problem 2 in that list) seems unsolvable in C++, as far as I can see.

I've hit iterator invalidation in a new c++11 codebase. Perhaps c++14 offers something to help it that I'm not aware of?

edit: "unsolvable" in the sense of the language making it impossible,

1 comments

Yeah. It isn’t enforced, but it’s easier to mitigate.