Design By Contract
Tom S
h3r3tic at remove.mat.uni.torun.pl
Wed Nov 1 16:50:09 PST 2006
Stephane Wirtel wrote:
> Hi all,
>
> I don't know if there is a release mode or debug mode, so. I did not
> read the specs of D. I would like to known if is it possible to disable
> the design by contract in release mode ?
You can't disable 'design by contract' but you can disable runtime
checks, including invariants, asserts, in/out contracts and array bounds
checking by passing -release to the compiler.
More information about the Digitalmars-d
mailing list