Array Operations: a[] + b[] etc.

Walter Bright newshound2 at digitalmars.com
Thu Nov 22 22:41:03 PST 2012


On 11/22/2012 6:11 PM, John Colvin wrote:
>> An error.
>
> Is monarch_dodra correct in saying that one would have to compile druntime in
> non-release to see this error? That would be a pity, couldn't this be
> implemented somehow so that it would depend on the user code being compiled
> non-release, not druntime?

I'd have to look at the specific code to see. In any case, it is an error. It 
takes a runtime check to do it, which can be turned on or off with the 
-noboundscheck switch.


More information about the Digitalmars-d mailing list