Stick a fork in it
Chris Nicholson-Sauls
ibisbasenji at gmail.com
Wed May 9 14:11:45 PDT 2007
Bill Baxter wrote:
> bobef wrote:
>> What is invariant?
>
> http://www.digitalmars.com/d/archives/digitalmars/D/The_new_invariant._51159.html#N51164
>
>
> Means "this symbol wont change what it refers to ever". ... I think...
> or maybe that was const....
>
> --bb
Actually, that'll be 'final'. The new 'invariant' will mean "this *data* absolute does
not change", and the new 'const' will mean "this is an *immutable view* into data owned by
other code, which *may* change". (If I'm remembering/understanding right.)
-- Chris Nicholson-Sauls
More information about the Digitalmars-d-announce
mailing list