News for hackers. Stuff that matters.
Re:C++ is not a superset of C by pmul on Tuesday September 03, 2019 @04:33PM (#20870869)
The first example won't compile in c++ (can't get a ptr to a non const from a const without something naughty like a const_cast) - that's not undefined behaviour is it?
Re:C++ is not a superset of C by lochsh on Tuesday September 03, 2019 @06:20PM (#20871840)
you're right, I messed up here. I'm working on some updates to the blog post based on feedback.