No bounds checking for dynamic arrays at compile time?

Walter Bright newshound2 at digitalmars.com
Thu Dec 13 13:26:51 PST 2012


On 12/13/2012 4:05 AM, Jacob Carlborg wrote:
> On 2012-12-13 10:54, Walter Bright wrote:
>
>> I just don't see the point in adding flow analysis for that, and it'll
>> ding you at runtime anyway
>
> What about code that is only executed at compile time?
>

CTFE would catch it.


More information about the Digitalmars-d mailing list