https://issues.dlang.org/show_bug.cgi?id=10201

--- Comment #6 from Dicebot <[email protected]> ---
(In reply to Walter Bright from comment #4)
> (In reply to monarchdodra from comment #2)
> > I mentioned this in
> > https://github.com/D-Programming-Language/phobos/pull/1434#issuecomment-
> > 21644766 with the example:
> 
> The example is still @safe because the array bounds checking will not allow
> an out of bounds index.

There is no array bounds checking in that example as `arr.ptr` syntax is used.

--

Reply via email to