9 ms·
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
by azakai 12y 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,
- Q6T46nT668w6i3m 12y agoYeah. It isn’t enforced, but it’s easier to mitigate.