checkedint call removal

Tofu Ninja via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 30 12:48:39 PDT 2014


On Wednesday, 30 July 2014 at 18:13:07 UTC, Ary Borenszweig wrote:
> I tried the program in debug mode in thousands of ways and 
> apparently no assert triggers. So I'll just compile in release 
> mode, release it and let anyone find bugs in it and allow to 
> bypass any security or safety I put in my program with those 
> "assert" statmenets, that would probably just take 1 nanosecond 
> to execute anyway.
>
> Sounds really nice.
>
> (sorry for the sarcasm, removing assert is wrong to me)

Use enforce...


More information about the Digitalmars-d mailing list