Request: a more logical static array behavior

Dicebot public at dicebot.lv
Thu Aug 15 05:24:51 PDT 2013


On Thursday, 15 August 2013 at 02:30:54 UTC, Jonathan M Davis 
wrote:
> No. If anything, we should get rid of the implicit conversion 
> from a static
> array to a dynamic one. It's actually unsafe to do so. It's 
> just like if you
> implicitly converted a local variable to the address of that 
> local variable
> when you passed it to a function that accepted a pointer.

scope, scope, scope!

;)


More information about the Digitalmars-d mailing list