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

--- Comment #11 from Kenji Hara <[email protected]> ---
It was just an idea. Indeed, it would be a case that the conditional behavior
is worse than simple disabling.

I noticed that we already have equivalent but safer way &arr[0]. Under @safe
attribute, it checks the 'arr' boundaries and throws RangeError if the index
access is invalid.

So, disabling arr.ptr would not have so big impact.

--

Reply via email to