array construction without heap alloc

0ffh frank at frankhirsch.youknow.what.todo.net
Sat Dec 22 09:22:20 PST 2007


Jarrett Billingsley wrote:
> Before anyone says "but the compiler could detect those", what about in this 
> case:

It would be quite enough if it detected that it's initialising a static
array on the stack, as in the example. That's what I'd have expected.

regards, frank


More information about the Digitalmars-d-learn mailing list