Logical const

Walter Bright newshound2 at digitalmars.com
Thu Dec 2 19:21:01 PST 2010


Steven Schveighoffer wrote:
> I have shown examples of how const does not guarantee an object's state 
> doesn't change.

Yes, as is well documented, const is a read only view. It is not immutable. That 
is why immutable is a separate attribute.


More information about the Digitalmars-d mailing list