invariant

saotome saotome.ran at googlemail.com
Tue May 12 11:50:26 PDT 2009


Hi all,

i want to declare an invariant interger, for instance "invariant int x = 3;". But i've got this error while compiling.

Error: constant 3 is not an lvalue

could someone explain me what's wrong here ? I'm using dmd 2.030



More information about the Digitalmars-d-learn mailing list