The more interesting question
Steven Schveighoffer
schveiguy at yahoo.com
Wed May 16 11:59:57 PDT 2012
On Wed, 16 May 2012 14:32:44 -0400, H. S. Teoh <hsteoh at quickfur.ath.cx>
wrote:
> Right, which is why D's arrays (or rather, slices) are closer to the
> second model than the first. Actually, arrays only exist in the GC,
> right? Even an "explicitly declared" array is really just a slice, that
> just happens to reference the contents of that chunk of GC memory.
Yes.
-Steve
More information about the Digitalmars-d
mailing list