Apparently unsigned types really are necessary

bearophile bearophileHUGS at lycos.com
Sun Jan 22 04:05:07 PST 2012


Era Scarecrow:

>  We would need a way to specify which ints needed to be checked; Or if you want to go the other direction, specify which ones specifically don't. I think having the checks in the debug mode would be wonderful, for when you need it. 

If D will have some success, and it will be used a bit in situations where Ada is today used, then surely a D compiler will have checked signed and unsigned integrals. But there's also a need for a syntax to locally disable the checks.

Bye,
bearophile


More information about the Digitalmars-d mailing list