On Saturday, 21 January 2012 at 03:18:43 UTC, Jonathan M Davis wrote:
Yeah. String literals should definitely be immutable rvalues,

consider this though:

auto a = "hello";
a = "new";

If is("hello" == immutable(char[])), then a would
be too, and the rebinding would fail.

That'd be annoying.

Reply via email to