Catching Errors
Chris Wright via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jan 19 18:08:21 PST 2017
On Fri, 20 Jan 2017 01:24:18 +0000, Jon Degenhardt wrote:
> As
> to the particular example, why is it unsafe to recover from attempting
> to access memory past the end of the array, as long as the access was
> prevented?
Because array bounds checking seems to be intended as an aid to find
bugs, a tool that you use during testing and development and turn off for
production.
Disabling array bounds checks is too dangerous for me.
More information about the Digitalmars-d
mailing list