News for hackers. Stuff that matters.
Re:C++ 20: The Core Language by jolmg on Tuesday November 05, 2019 @08:20PM (#21458826)
> The following expressions are lvalue expressions: [...] a string literal, such as "Hello, world!"

That's pretty interesting. I'm not even sure how to test the effect of

  "Hello, world!" = <something>
I imagine the reason this is allowed has something to do with how strings decay into pointers.

> I found it way easier to deal with ... Ruby documentation for example.

Maybe in documentation detailing the methods available, but as far as I know, there's no official spec for the syntax nor the details of the semantics of the language.

There are no comments on this comment yet.