Differences between invariant and immutable?

Jeremie Pelletier jeremiep at gmail.com
Mon May 18 20:02:05 PDT 2009

I upgraded to 2.0.30 today and noticed the new immutable keyword on the migration to shared page. I knew of the keyword before but older versions of DMD didn't seem to recognize it, so I assumed it meant invariant.

But now I'd like to know what are the specific differences between the two, as I couldn't find any detailed page on the subject.


More information about the Digitalmars-d mailing list