No bounds checking for dynamic arrays at compile time?

kenji hara k.hara.pg at gmail.com
Wed Dec 12 20:50:19 PST 2012


Because detecting that requires code flow analysis.
Note that it is completely different from CTFE.

Kenji Hara

2012/12/13 Pacoup <etiennelg at gmail.com>

> On Thursday, 13 December 2012 at 04:26:52 UTC, Mehrdad wrote:
>
>>
>> It's C++ philosophy imposed on the C#-like aspects of the language.
>>
>
> That's not a rationale for not having bounds checking on dynamic arrays at
> compile time. How is this making the language better? Is there a technical
> limitation which explains this?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20121213/c33f65bc/attachment.html>


More information about the Digitalmars-d mailing list