Open robsimmons opened 9 years ago
The compiler currently rejects
*((int*)x) += 1;
and in both lecture and homeworks that's been a thing that people have naturally wanted to write, it corresponds to being able to write (int)x as an rvalue.
5 years later, we have implemented this 😂
The compiler currently rejects
and in both lecture and homeworks that's been a thing that people have naturally wanted to write, it corresponds to being able to write (int)x as an rvalue.