News for hackers. Stuff that matters.
Re:Initialization in C++ is Seriously Bonkers by saagarjha on Sunday January 06, 2019 @05:09AM (#18837566)
> No matter how I try to equivocate undefined behavior with invalid code, it has trouble sticking.

Try telling students to add -fsanitize=undefined to their compilation flags. That might help make it clear that their code is buggy.

There are no comments on this comment yet.