immutable, const, enum

Jarrett Billingsley jarrett.billingsley at gmail.com
Tue Apr 28 14:34:28 PDT 2009


On Tue, Apr 28, 2009 at 5:17 PM, Christian Kamm
<kamm-incasoftware at removethis.de> wrote:
> As far as I know, immutable has no effect on class declarations

It does.

http://www.digitalmars.com/d/2.0/class.html

At the very bottom it describes const and invariant (i.e. immutable) classes.



More information about the Digitalmars-d mailing list