4 ms·
What I'm referring to with regards containers is: preventing containers being modified while they are being iterated on (which is usually bad, because you will
by davidatbu 4y ago
What I'm referring to with regards containers is: preventing containers being modified while they are being iterated on (which is usually bad, because you will probably invalidate the iterator when modifying the container). That is what is prevented by Rust's references rules, and to my knowledge, isn't possible to protect against in C++ (statically).
Thanks for the replies about the other stuff!