News for hackers. Stuff that matters.
Re:Can C++ be 10x Simpler and Safer? by Quekid5 on Sunday November 13, 2022 @12:35AM (#33580391)
The evidence in the form of CVEs suggests that we don't get it right.

> You mean the vector::operator[] is an example of fast-and-potentially-UB ? I don't see any UB if the constraints are met (keeping the index within valid range).

I don't understand this line of reasoning when it's plain that the contraints are not met. Routinely. It happens all the time. Again, see the CVEs.

There are no comments on this comment yet.