How to make invariant switchable

Qian Xu quian.xu at stud.tu-ilmenau.de
Thu Jun 18 05:26:27 PDT 2009


Hi All,

"invariant" is a great language feature of D. But nice thing costs. 

Is it possible to make it compiler switchable? Like "dmd --ignore-invariant"
or "dmd --version=ignore-invariant" It think it will be quite helpful to
generate test version and release version of software.


Best regards
Qian Xu



More information about the Digitalmars-d mailing list