Am 10.12.2009 13:10, schrieb Andrew Haley:
Now my question is: is it correct that the compiler enforces the constantness of the variable, even tought it states in the warning that the const qualifier has been discarded?Yes.
and
behavior is undefined. ...
doesn't really match though. The standard doesn't give the answer. Best regards.