|
|
|
|
|
by blub
3197 days ago
|
|
Those Rust evangelists are only partially correct. It's the STL that's unsafe, not the language itself. Iterators could be implemented in C++ in a safer way with some performance loss, but it doesn't seem to be a priority for anyone except the safercpp guy that posts here every now and then. STLs can enable iterator validation in a special debug mode. |
|
The language includes memory unsafe constructs without marking them in any way, since it must be compatible with C.