Fixed-size arrays on the heap

Lars T. Kyllingstad public at kyllingen.NOSPAMnet
Thu May 6 03:49:12 PDT 2010


On Thu, 06 May 2010 06:37:20 -0400, bearophile wrote:

> While translating some old code I have found that allocating a
> fixed-size array on the heap is not allowed, do you know why?

I don't know, but it was discussed not too long ago:

http://www.digitalmars.com/d/archives/digitalmars/D/
eliminate_new_operator_paraphernalia_106108.html

In particular, note Kasumi Hanazuki's post and Andrei's response to it.

-Lars


More information about the Digitalmars-d-learn mailing list