Meaning of invariant

Tyro[a.c.edwards] no at spam.com
Sat Feb 9 15:57:48 PST 2008


Edward Diener さんは書きました:
> I could not find any explanation for the keyword 'invariant' in the PDF 
> doc. Is it the equivalent of the C++ 'const' in at least some of the 
> latter's usages ?
> 
> The only explanation for it existed as part of Contract Programming, but 
> it seems to be used otherwise also.

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



More information about the Digitalmars-d mailing list