Logical const

Walter Bright newshound2 at digitalmars.com
Wed Dec 1 11:06:00 PST 2010


spir wrote:
> What would be the consequences if D had no const, only immutable (that, IIUC, removes the latter non-guarantee)?

You'd have to write most every function twice, once to take immutable args and 
again for mutable ones.


More information about the Digitalmars-d mailing list