News for hackers. Stuff that matters.
Re:A convenient untruth: Array notation in C is a lie by smitherfield on Thursday December 22, 2016 @03:38PM (#13240182)
C string literals are " char * ".

C++ string literals are " const char * " (one of the minor incompatibilities between the languages).

They ought to be "const char[]" but aren't. And, the behavior of "char[]" should be the same as "struct { char[] }", but it isn't.

Re:A convenient untruth: Array notation in C is a lie by gpderetta on Thursday December 22, 2016 @04:49PM (#13240677)
They actually are proper arrays in C++ [1], although, as usual, they decay to pointers faster than an unstable particle.

[1]: https://godbolt.org/g/ZWISCu

Re:A convenient untruth: Array notation in C is a lie by smitherfield on Friday December 23, 2016 @12:33AM (#13243075)
I stand corrected!