thoughts on immutability in D

Walter Bright newshound2 at digitalmars.com
Fri Sep 23 18:39:19 PDT 2011


On 9/23/2011 5:31 PM, Jonathan M Davis wrote:
> I have to specifically circumvent the compiler to be
> able to alter const stuff.

Nope, not with 'mutable' you don't have to circumvent anything. Just change it.


More information about the Digitalmars-d mailing list