Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is just wrong to say C++ array or other containers do not perform bounds checking. #116

Closed
swang206 opened this issue Oct 15, 2021 · 1 comment

Comments

@swang206
Copy link

"However, unlike C/C++1, array indexing is bounds checked. In fact all access to arrays is bounds checked, which is another way Rust is a safer language."

https://github.com/nrc/r4cppp/blob/master/arrays.md#1

LOL. A safer language. Oh yeah, I got it, another RIIR shit that tries to attack C++ for no reason.

https://godbolt.org/z/axMxM3v8E

@swang206
Copy link
Author

https://youtu.be/FAt8KVlNB7E

Oh i got it.
Yeah, using C++ violates human rights

@nrc nrc closed this as completed Oct 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants