Why is this not a warning?

jmh530 via Digitalmars-d digitalmars-d at puremagic.com
Thu Mar 17 06:42:33 PDT 2016


On Thursday, 17 March 2016 at 09:13:34 UTC, tsbockman wrote:
>
> You could use the `DebugInt` wrapper. It aliases to `SafeInt` 
> in debug and unittest mode, to find problems (many, including 
> the specific one in this thread, are detected at compile time). 
> Then, in release mode, it aliases to the built-in types for 
> maximum speed.


Cool. Worth knowing.


More information about the Digitalmars-d mailing list