News for hackers. Stuff that matters.
Re:A Guide to Undefined Behavior in C and C++ by jeffbee on Thursday August 17, 2023 @08:48PM (#37170244)
Thanks! I think anyone would have to be nuts to write a loop like this in C++ or tolerate C as a language. C++'s `ranges::find` does what it says, and communicates between the author and the reader as well as the author and the compiler.

There are no comments on this comment yet.