News for hackers. Stuff that matters.
Re:Overview of JavaScript ES6 features by twr on Monday October 24, 2016 @09:44PM (#12784586)
I'm not sure if you meant to imply otherwise, but your last example won't (and shouldn't) compile with clang/gcc.

clang++: error: cannot assign to variable 'b' with const-qualified type 'const somestruct *const'

g++: error: assignment of member ‘somestruct::moo’ in read-only object

There are no comments on this comment yet.