Contracts, Undefined Behavior, and Defensive,Programming

Paul Backus snarwin at gmail.com
Mon Jun 15 12:46:36 UTC 2020


On Monday, 15 June 2020 at 12:45:56 UTC, Paul Backus wrote:
>
> Well, the compiler has an option specifically for in contracts, 
> `-checkaction=in=[on|off]`, so probably what should be done is 
> to give that option a `safeonly` value like what `-boundscheck` 
> has.

Typo: `-check=...`, not `-checkaction=...`.


More information about the Digitalmars-d mailing list