Fixing C's Biggest Mistake

areYouSureAboutThat areYouSureAboutThat at gmail.com
Wed Jan 4 03:16:29 UTC 2023


On Wednesday, 4 January 2023 at 03:13:25 UTC, max haughton wrote:
>
> This is already caught by the runtime. The idea of betterC is 
> that you are opting into these checks.

Except that @checked, in my example, would mean there is no way 
to opt-out of that check.

i.e. even in -release or -boundscheck=off, that array would 
always be bounds checked at runtime.


More information about the Digitalmars-d mailing list