>Well, I don't usually modify string literals, so no problem.  I think  
>it would be better stated that "undefined modification of string  
>literals invokes undefined behaviour", but this is only a quibble.

The point is that the compiler is free to make string literals unmodifyable
(which allows for interesting other things such as tail merging strings)

Casper
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to